P
peter 9
Guest
Hi,
I need use the following a piece of java code in my c# program. Can anyone help me to convert it into c#?
byte[] byteAddress = java.net.InetAddress.getLocalHost().getAddress();
int intAddress =
((byteAddress[0] ^ byteAddress[1] ^ byteAddress[2]) << 8)
| byteAddress[3];
Thank you very much.
Continue reading...
I need use the following a piece of java code in my c# program. Can anyone help me to convert it into c#?
byte[] byteAddress = java.net.InetAddress.getLocalHost().getAddress();
int intAddress =
((byteAddress[0] ^ byteAddress[1] ^ byteAddress[2]) << 8)
| byteAddress[3];
Thank you very much.
Continue reading...