trouble with IPAddress class
I am ripping my hair out on this one.
The constructor for this class accepts an argument of byte[]:
public IPAddress(byte[]);
It will not accept a byte array. Even if I do the following it throws an exception.
//assume ipa is an instance of IPAddress
byte[] a = ipa.GetAddressBytes();
ipa = new IPAddress(a);
It throws an exception, i have tried manually creating a byte array with 1,2,3,4,and 5 elements. They all cause an exception. It compiles fine, no arguments until you reach this point at runtime and it throws an exception.
Please help!
-pfoh
shimtannyPosted Feb 26, 2005, 4:58 AM
jonas.pfohPosted Feb 25, 2005, 1:22 PM
shimtannyPosted Feb 25, 2005, 12:56 PM
jonas.pfohPosted Feb 25, 2005, 11:42 AM
shimtannyPosted Feb 25, 2005, 11:20 AM