hello all, i have some calculation codes class in my client side, how my server gonna get those values and display it in my server? i had created windows forms labels in server.
know i have the calculation class and main client forms in my client side, and main server forms in my server side.
what should i do so that my server able to display those values (upload, speed, download, etc)?? what codes should i write? what kind of method can be used such as hashtable? dictionary? get set methods? or any other way??
i really had no idea. please help, thanks
here is the calculation snip codes in client:
Speed = (nic.Speed / (1024 * 1024)) + " MB";
InterfaceType = nic.NetworkInterfaceType.ToString();
BytesReceived = interfaceStats.BytesReceived.ToString();
BytesSent = interfaceStats.BytesSent.ToString();
Upload = bytesSentSpeed.ToString() + " kB/s";
Download = bytesReceivedSpeed.ToString() + " kB/s";
NetInterface = netface[i].Name;