public static System.Net.IPAddress ToIPAddress(In6Addr address) { var bytes = new byte[16]; address.CopyTo(bytes, 0); return(new System.Net.IPAddress(bytes)); }
public static System.Net.IPAddress ToIPAddress (In6Addr address) { var bytes = new byte[16]; address.CopyTo (bytes, 0); return new System.Net.IPAddress (bytes); }
public static bool TryCopy (IntPtr source, out In6Addr destination) { return ToIn6Addr (source, out destination) == 0; }
private static extern int ToIn6Addr (IntPtr source, out In6Addr destination);
public static bool TryCopy (ref In6Addr source, IntPtr destination) { return FromIn6Addr (ref source, destination) == 0; }
private static extern int FromIn6Addr (ref In6Addr source, IntPtr destination);
public static bool TryCopy(IntPtr source, out In6Addr destination) { return(ToIn6Addr(source, out destination) == 0); }
private static extern int ToIn6Addr(IntPtr source, out In6Addr destination);
public static bool TryCopy(ref In6Addr source, IntPtr destination) { return(FromIn6Addr(ref source, destination) == 0); }
private static extern int FromIn6Addr(ref In6Addr source, IntPtr destination);