150 {
155 {
157 while (true)
158 {
159 switch (num)
160 {
162 {
164 try
165 {
167 if (num != 0)
168 {
169 continue;
170 }
174 {
175 span =
span.Slice(
sizeof(global::Interop.IpHlpApi.MibUdpTable));
176 for (
int i = 0;
i <
reference.numberOfEntries;
i++)
177 {
181 span =
span.Slice(
sizeof(global::Interop.IpHlpApi.MibUdpRow));
182 }
183 }
184 }
185 finally
186 {
188 }
189 continue;
190 }
191 default:
192 throw new NetworkInformationException((int)num);
195 break;
196 }
197 break;
198 }
199 }
201 {
204 while (true)
205 {
206 switch (num)
207 {
209 {
211 try
212 {
214 if (num != 0)
215 {
216 continue;
217 }
221 {
222 span2 =
span2.Slice(
sizeof(global::Interop.IpHlpApi.MibUdp6TableOwnerPid));
224 {
228 span2 =
span2.Slice(
sizeof(global::Interop.IpHlpApi.MibUdp6RowOwnerPid));
229 }
230 }
231 }
232 finally
233 {
235 }
236 continue;
237 }
238 default:
239 throw new NetworkInformationException((int)num);
242 break;
243 }
244 break;
245 }
246 }
247 return list.ToArray();
248 }
static bool OSSupportsIPv6
static bool OSSupportsIPv4
static void FreeHGlobal(IntPtr hglobal)
static IntPtr AllocHGlobal(int cb)