friends i have a problem. i want to find out tcp statistics(bytes recieved&bytes send).
for this i used this code
dim a as system.net.networkinformation.tcpstatistics dim aa as long aa= a.bytesreceived()
this code shows a warning as
Variable ‘a’ is used before it has been assigned a value. A null reference exception could result at run time
help me to resolve this problem
there is any way to get detail about network connection details such as bytes send& bytes received