172 {
173 get
174 {
176 if (num == 0)
177 {
178 Initialize();
180 }
181 return num == 1;
182 static void Initialize()
183 {
184 global::Interop.Winsock.EnsureInitialized();
185 IntPtr handle = global::Interop.Kernel32.LoadLibraryEx(
"ws2_32.dll",
IntPtr.Zero, 2048);
189 }
190 }
191 }
static volatile int s_getAddrInfoExSupported
static bool TryGetExport(IntPtr handle, string name, out IntPtr address)
static int CompareExchange(ref int location1, int value, int comparand)