Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5.6k
Expand file tree
/
Copy pathSystem.Net.NetworkInformation.cs
More file actions
Latest commit
629 lines (628 loc) · 37.8 KB
/
Copy pathSystem.Net.NetworkInformation.cs
File metadata and controls
629 lines (628 loc) · 37.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespaceSystem.Net.NetworkInformation
{
publicenumDuplicateAddressDetectionState
{
Invalid=0,
Tentative=1,
Duplicate=2,
Deprecated=3,
Preferred=4,
}
publicabstractpartialclassGatewayIPAddressInformation
{
protectedGatewayIPAddressInformation(){}
publicabstractSystem.Net.IPAddressAddress{get;}
}
publicpartialclassGatewayIPAddressInformationCollection:System.Collections.Generic.ICollection<System.Net.NetworkInformation.GatewayIPAddressInformation>,System.Collections.Generic.IEnumerable<System.Net.NetworkInformation.GatewayIPAddressInformation>,System.Collections.IEnumerable
{
protectedinternalGatewayIPAddressInformationCollection(){}
publicvirtualintCount{get{thrownull;}}
publicvirtualboolIsReadOnly{get{thrownull;}}
publicvirtualSystem.Net.NetworkInformation.GatewayIPAddressInformationthis[intindex]{get{thrownull;}}
publicvirtualvoidAdd(System.Net.NetworkInformation.GatewayIPAddressInformationaddress){}
publicvirtualvoidClear(){}
publicvirtualboolContains(System.Net.NetworkInformation.GatewayIPAddressInformationaddress){thrownull;}
publicvirtualvoidCopyTo(System.Net.NetworkInformation.GatewayIPAddressInformation[]array,intoffset){}
publicvirtualSystem.Collections.Generic.IEnumerator<System.Net.NetworkInformation.GatewayIPAddressInformation>GetEnumerator(){thrownull;}
publicvirtualboolRemove(System.Net.NetworkInformation.GatewayIPAddressInformationaddress){thrownull;}
System.Collections.IEnumeratorSystem.Collections.IEnumerable.GetEnumerator(){thrownull;}
}
publicabstractpartialclassIcmpV4Statistics
{
protectedIcmpV4Statistics(){}
publicabstractlongAddressMaskRepliesReceived{get;}
publicabstractlongAddressMaskRepliesSent{get;}
publicabstractlongAddressMaskRequestsReceived{get;}
publicabstractlongAddressMaskRequestsSent{get;}
publicabstractlongDestinationUnreachableMessagesReceived{get;}
publicabstractlongDestinationUnreachableMessagesSent{get;}
publicabstractlongEchoRepliesReceived{get;}
publicabstractlongEchoRepliesSent{get;}
publicabstractlongEchoRequestsReceived{get;}
publicabstractlongEchoRequestsSent{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongErrorsReceived{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongErrorsSent{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongMessagesReceived{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongMessagesSent{get;}
publicabstractlongParameterProblemsReceived{get;}
publicabstractlongParameterProblemsSent{get;}
publicabstractlongRedirectsReceived{get;}
publicabstractlongRedirectsSent{get;}
publicabstractlongSourceQuenchesReceived{get;}
publicabstractlongSourceQuenchesSent{get;}
publicabstractlongTimeExceededMessagesReceived{get;}
publicabstractlongTimeExceededMessagesSent{get;}
publicabstractlongTimestampRepliesReceived{get;}
publicabstractlongTimestampRepliesSent{get;}
publicabstractlongTimestampRequestsReceived{get;}
publicabstractlongTimestampRequestsSent{get;}
}
publicabstractpartialclassIcmpV6Statistics
{
protectedIcmpV6Statistics(){}
publicabstractlongDestinationUnreachableMessagesReceived{get;}
publicabstractlongDestinationUnreachableMessagesSent{get;}
publicabstractlongEchoRepliesReceived{get;}
publicabstractlongEchoRepliesSent{get;}
publicabstractlongEchoRequestsReceived{get;}
publicabstractlongEchoRequestsSent{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongErrorsReceived{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongErrorsSent{get;}
publicabstractlongMembershipQueriesReceived{get;}
publicabstractlongMembershipQueriesSent{get;}
publicabstractlongMembershipReductionsReceived{get;}
publicabstractlongMembershipReductionsSent{get;}
publicabstractlongMembershipReportsReceived{get;}
publicabstractlongMembershipReportsSent{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongMessagesReceived{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongMessagesSent{get;}
publicabstractlongNeighborAdvertisementsReceived{get;}
publicabstractlongNeighborAdvertisementsSent{get;}
publicabstractlongNeighborSolicitsReceived{get;}
publicabstractlongNeighborSolicitsSent{get;}
publicabstractlongPacketTooBigMessagesReceived{get;}
publicabstractlongPacketTooBigMessagesSent{get;}
publicabstractlongParameterProblemsReceived{get;}
publicabstractlongParameterProblemsSent{get;}
publicabstractlongRedirectsReceived{get;}
publicabstractlongRedirectsSent{get;}
publicabstractlongRouterAdvertisementsReceived{get;}
publicabstractlongRouterAdvertisementsSent{get;}
publicabstractlongRouterSolicitsReceived{get;}
publicabstractlongRouterSolicitsSent{get;}
publicabstractlongTimeExceededMessagesReceived{get;}
publicabstractlongTimeExceededMessagesSent{get;}
}
publicabstractpartialclassIPAddressInformation
{
protectedIPAddressInformation(){}
publicabstractSystem.Net.IPAddressAddress{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractboolIsDnsEligible{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractboolIsTransient{get;}
}
publicpartialclassIPAddressInformationCollection:System.Collections.Generic.ICollection<System.Net.NetworkInformation.IPAddressInformation>,System.Collections.Generic.IEnumerable<System.Net.NetworkInformation.IPAddressInformation>,System.Collections.IEnumerable
{
internalIPAddressInformationCollection(){}
publicvirtualintCount{get{thrownull;}}
publicvirtualboolIsReadOnly{get{thrownull;}}
publicvirtualSystem.Net.NetworkInformation.IPAddressInformationthis[intindex]{get{thrownull;}}
publicvirtualvoidAdd(System.Net.NetworkInformation.IPAddressInformationaddress){}
publicvirtualvoidClear(){}
publicvirtualboolContains(System.Net.NetworkInformation.IPAddressInformationaddress){thrownull;}
publicvirtualvoidCopyTo(System.Net.NetworkInformation.IPAddressInformation[]array,intoffset){}
publicvirtualSystem.Collections.Generic.IEnumerator<System.Net.NetworkInformation.IPAddressInformation>GetEnumerator(){thrownull;}
publicvirtualboolRemove(System.Net.NetworkInformation.IPAddressInformationaddress){thrownull;}
System.Collections.IEnumeratorSystem.Collections.IEnumerable.GetEnumerator(){thrownull;}
}
publicabstractpartialclassIPGlobalProperties
{
protectedIPGlobalProperties(){}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractstringDhcpScopeName{get;}
publicabstractstringDomainName{get;}
publicabstractstringHostName{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractboolIsWinsProxy{get;}
publicabstractSystem.Net.NetworkInformation.NetBiosNodeTypeNodeType{get;}
publicvirtualSystem.IAsyncResultBeginGetUnicastAddresses(System.AsyncCallback?callback,object?state){thrownull;}
publicvirtualSystem.Net.NetworkInformation.UnicastIPAddressInformationCollectionEndGetUnicastAddresses(System.IAsyncResultasyncResult){thrownull;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.TcpConnectionInformation[]GetActiveTcpConnections();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.IPEndPoint[]GetActiveTcpListeners();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.IPEndPoint[]GetActiveUdpListeners();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.IcmpV4StatisticsGetIcmpV4Statistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.IcmpV6StatisticsGetIcmpV6Statistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticSystem.Net.NetworkInformation.IPGlobalPropertiesGetIPGlobalProperties(){thrownull;}
publicabstractSystem.Net.NetworkInformation.IPGlobalStatisticsGetIPv4GlobalStatistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractSystem.Net.NetworkInformation.IPGlobalStatisticsGetIPv6GlobalStatistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.TcpStatisticsGetTcpIPv4Statistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.TcpStatisticsGetTcpIPv6Statistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.UdpStatisticsGetUdpIPv4Statistics();
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.UdpStatisticsGetUdpIPv6Statistics();
publicvirtualSystem.Net.NetworkInformation.UnicastIPAddressInformationCollectionGetUnicastAddresses(){thrownull;}
publicvirtualSystem.Threading.Tasks.Task<System.Net.NetworkInformation.UnicastIPAddressInformationCollection>GetUnicastAddressesAsync(){thrownull;}
}
publicabstractpartialclassIPGlobalStatistics
{
protectedIPGlobalStatistics(){}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractintDefaultTtl{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractboolForwardingEnabled{get;}
publicabstractintNumberOfInterfaces{get;}
publicabstractintNumberOfIPAddresses{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractintNumberOfRoutes{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongOutputPacketRequests{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongOutputPacketRoutingDiscards{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongOutputPacketsDiscarded{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongOutputPacketsWithNoRoute{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongPacketFragmentFailures{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongPacketReassembliesRequired{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongPacketReassemblyFailures{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongPacketReassemblyTimeout{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongPacketsFragmented{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongPacketsReassembled{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPackets{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPacketsDelivered{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPacketsDiscarded{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPacketsForwarded{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPacketsWithAddressErrors{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPacketsWithHeadersErrors{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractlongReceivedPacketsWithUnknownProtocol{get;}
}
publicabstractpartialclassIPInterfaceProperties
{
protectedIPInterfaceProperties(){}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.IPAddressInformationCollectionAnycastAddresses{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractSystem.Net.NetworkInformation.IPAddressCollectionDhcpServerAddresses{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.IPAddressCollectionDnsAddresses{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractstringDnsSuffix{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicabstractSystem.Net.NetworkInformation.GatewayIPAddressInformationCollectionGatewayAddresses{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractboolIsDnsEnabled{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractboolIsDynamicDnsEnabled{get;}
publicabstractSystem.Net.NetworkInformation.MulticastIPAddressInformationCollectionMulticastAddresses{get;}
publicabstractSystem.Net.NetworkInformation.UnicastIPAddressInformationCollectionUnicastAddresses{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractSystem.Net.NetworkInformation.IPAddressCollectionWinsServersAddresses{get;}
publicabstractSystem.Net.NetworkInformation.IPv4InterfacePropertiesGetIPv4Properties();
publicabstractSystem.Net.NetworkInformation.IPv6InterfacePropertiesGetIPv6Properties();
}
publicabstractpartialclassIPInterfaceStatistics
{
protectedIPInterfaceStatistics(){}
publicabstractlongBytesReceived{get;}
publicabstractlongBytesSent{get;}
publicabstractlongIncomingPacketsDiscarded{get;}
publicabstractlongIncomingPacketsWithErrors{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("linux")]
publicabstractlongIncomingUnknownProtocolPackets{get;}
publicabstractlongNonUnicastPacketsReceived{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("linux")]
publicabstractlongNonUnicastPacketsSent{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongOutgoingPacketsDiscarded{get;}
publicabstractlongOutgoingPacketsWithErrors{get;}
publicabstractlongOutputQueueLength{get;}
publicabstractlongUnicastPacketsReceived{get;}
publicabstractlongUnicastPacketsSent{get;}
}
publicabstractpartialclassIPv4InterfaceProperties
{
protectedIPv4InterfaceProperties(){}
publicabstractintIndex{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractboolIsAutomaticPrivateAddressingActive{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractboolIsAutomaticPrivateAddressingEnabled{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractboolIsDhcpEnabled{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
[System.Runtime.Versioning.SupportedOSPlatformAttribute("linux")]
publicabstractboolIsForwardingEnabled{get;}
publicabstractintMtu{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
[System.Runtime.Versioning.SupportedOSPlatformAttribute("linux")]
publicabstractboolUsesWins{get;}
}
publicabstractpartialclassIPv4InterfaceStatistics
{
protectedIPv4InterfaceStatistics(){}
publicabstractlongBytesReceived{get;}
publicabstractlongBytesSent{get;}
publicabstractlongIncomingPacketsDiscarded{get;}
publicabstractlongIncomingPacketsWithErrors{get;}
publicabstractlongIncomingUnknownProtocolPackets{get;}
publicabstractlongNonUnicastPacketsReceived{get;}
publicabstractlongNonUnicastPacketsSent{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicabstractlongOutgoingPacketsDiscarded{get;}
publicabstractlongOutgoingPacketsWithErrors{get;}
publicabstractlongOutputQueueLength{get;}
publicabstractlongUnicastPacketsReceived{get;}
publicabstractlongUnicastPacketsSent{get;}
}
publicabstractpartialclassIPv6InterfaceProperties
{
protectedIPv6InterfaceProperties(){}
publicabstractintIndex{get;}
publicabstractintMtu{get;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
publicvirtuallongGetScopeId(System.Net.NetworkInformation.ScopeLevelscopeLevel){thrownull;}
}
publicabstractpartialclassMulticastIPAddressInformation:System.Net.NetworkInformation.IPAddressInformation
{
protectedMulticastIPAddressInformation(){}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractlongAddressPreferredLifetime{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractlongAddressValidLifetime{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractlongDhcpLeaseLifetime{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.DuplicateAddressDetectionStateDuplicateAddressDetectionState{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.PrefixOriginPrefixOrigin{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.SuffixOriginSuffixOrigin{get;}
}
publicpartialclassMulticastIPAddressInformationCollection:System.Collections.Generic.ICollection<System.Net.NetworkInformation.MulticastIPAddressInformation>,System.Collections.Generic.IEnumerable<System.Net.NetworkInformation.MulticastIPAddressInformation>,System.Collections.IEnumerable
{
protectedinternalMulticastIPAddressInformationCollection(){}
publicvirtualintCount{get{thrownull;}}
publicvirtualboolIsReadOnly{get{thrownull;}}
publicvirtualSystem.Net.NetworkInformation.MulticastIPAddressInformationthis[intindex]{get{thrownull;}}
publicvirtualvoidAdd(System.Net.NetworkInformation.MulticastIPAddressInformationaddress){}
publicvirtualvoidClear(){}
publicvirtualboolContains(System.Net.NetworkInformation.MulticastIPAddressInformationaddress){thrownull;}
publicvirtualvoidCopyTo(System.Net.NetworkInformation.MulticastIPAddressInformation[]array,intoffset){}
publicvirtualSystem.Collections.Generic.IEnumerator<System.Net.NetworkInformation.MulticastIPAddressInformation>GetEnumerator(){thrownull;}
publicvirtualboolRemove(System.Net.NetworkInformation.MulticastIPAddressInformationaddress){thrownull;}
System.Collections.IEnumeratorSystem.Collections.IEnumerable.GetEnumerator(){thrownull;}
}
publicenumNetBiosNodeType
{
Unknown=0,
Broadcast=1,
Peer2Peer=2,
Mixed=4,
Hybrid=8,
}
publicdelegatevoidNetworkAddressChangedEventHandler(object?sender,System.EventArgse);
publicdelegatevoidNetworkAvailabilityChangedEventHandler(object?sender,System.Net.NetworkInformation.NetworkAvailabilityEventArgse);
publicpartialclassNetworkAvailabilityEventArgs:System.EventArgs
{
internalNetworkAvailabilityEventArgs(){}
publicboolIsAvailable{get{thrownull;}}
}
publicpartialclassNetworkChange
{
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.",true)]
publicNetworkChange(){}
publicstaticboolIsSupported{get{thrownull;}}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticeventSystem.Net.NetworkInformation.NetworkAddressChangedEventHandler?NetworkAddressChanged{add{}remove{}}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticeventSystem.Net.NetworkInformation.NetworkAvailabilityChangedEventHandler?NetworkAvailabilityChanged{add{}remove{}}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.",true)]
publicstaticvoidRegisterNetworkChange(System.Net.NetworkInformation.NetworkChangenc){}
}
publicpartialclassNetworkInformationException:System.ComponentModel.Win32Exception
{
publicNetworkInformationException(){}
publicNetworkInformationException(interrorCode){}
[System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.",DiagnosticId="SYSLIB0051",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
protectedNetworkInformationException(System.Runtime.Serialization.SerializationInfoserializationInfo,System.Runtime.Serialization.StreamingContextstreamingContext){}
publicoverrideintErrorCode{get{thrownull;}}
}
publicabstractpartialclassNetworkInterface
{
protectedNetworkInterface(){}
publicvirtualstringDescription{get{thrownull;}}
publicvirtualstringId{get{thrownull;}}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticintIPv6LoopbackInterfaceIndex{get{thrownull;}}
publicvirtualboolIsReceiveOnly{get{thrownull;}}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticintLoopbackInterfaceIndex{get{thrownull;}}
publicvirtualstringName{get{thrownull;}}
publicvirtualSystem.Net.NetworkInformation.NetworkInterfaceTypeNetworkInterfaceType{get{thrownull;}}
publicvirtualSystem.Net.NetworkInformation.OperationalStatusOperationalStatus{get{thrownull;}}
publicvirtuallongSpeed{get{thrownull;}}
publicvirtualboolSupportsMulticast{get{thrownull;}}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticSystem.Net.NetworkInformation.NetworkInterface[]GetAllNetworkInterfaces(){thrownull;}
publicvirtualSystem.Net.NetworkInformation.IPInterfacePropertiesGetIPProperties(){thrownull;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicvirtualSystem.Net.NetworkInformation.IPInterfaceStatisticsGetIPStatistics(){thrownull;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
publicvirtualSystem.Net.NetworkInformation.IPv4InterfaceStatisticsGetIPv4Statistics(){thrownull;}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("solaris")]
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("haiku")]
publicstaticboolGetIsNetworkAvailable(){thrownull;}
publicvirtualSystem.Net.NetworkInformation.PhysicalAddressGetPhysicalAddress(){thrownull;}
publicvirtualboolSupports(System.Net.NetworkInformation.NetworkInterfaceComponentnetworkInterfaceComponent){thrownull;}
}
publicenumNetworkInterfaceComponent
{
IPv4=0,
IPv6=1,
}
publicenumNetworkInterfaceType
{
Unknown=1,
Ethernet=6,
TokenRing=9,
Fddi=15,
BasicIsdn=20,
PrimaryIsdn=21,
Ppp=23,
Loopback=24,
Ethernet3Megabit=26,
Slip=28,
Atm=37,
GenericModem=48,
FastEthernetT=62,
Isdn=63,
FastEthernetFx=69,
Wireless80211=71,
AsymmetricDsl=94,
RateAdaptDsl=95,
SymmetricDsl=96,
VeryHighSpeedDsl=97,
IPOverAtm=114,
GigabitEthernet=117,
Tunnel=131,
MultiRateSymmetricDsl=143,
HighPerformanceSerialBus=144,
Wman=237,
Wwanpp=243,
Wwanpp2=244,
}
publicenumOperationalStatus
{
Up=1,
Down=2,
Testing=3,
Unknown=4,
Dormant=5,
NotPresent=6,
LowerLayerDown=7,
}
publicpartialclassPhysicalAddress
{
publicstaticreadonlySystem.Net.NetworkInformation.PhysicalAddressNone;
publicPhysicalAddress(byte[]address){}
publicoverrideboolEquals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)]object?comparand){thrownull;}
publicbyte[]GetAddressBytes(){thrownull;}
publicoverrideintGetHashCode(){thrownull;}
publicstaticSystem.Net.NetworkInformation.PhysicalAddressParse(System.ReadOnlySpan<char>address){thrownull;}
publicstaticSystem.Net.NetworkInformation.PhysicalAddressParse(string?address){thrownull;}
publicoverridestringToString(){thrownull;}
publicstaticboolTryParse(System.ReadOnlySpan<char>address,[System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)]outSystem.Net.NetworkInformation.PhysicalAddress?value){thrownull;}
publicstaticboolTryParse(string?address,[System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)]outSystem.Net.NetworkInformation.PhysicalAddress?value){thrownull;}
}
publicenumPrefixOrigin
{
Other=0,
Manual=1,
WellKnown=2,
Dhcp=3,
RouterAdvertisement=4,
}
publicenumScopeLevel
{
None=0,
Interface=1,
Link=2,
Subnet=3,
Admin=4,
Site=5,
Organization=8,
Global=14,
}
publicenumSuffixOrigin
{
Other=0,
Manual=1,
WellKnown=2,
OriginDhcp=3,
LinkLayerAddress=4,
Random=5,
}
publicabstractpartialclassTcpConnectionInformation
{
protectedTcpConnectionInformation(){}
publicabstractSystem.Net.IPEndPointLocalEndPoint{get;}
publicabstractSystem.Net.IPEndPointRemoteEndPoint{get;}
publicabstractSystem.Net.NetworkInformation.TcpStateState{get;}
}
publicenumTcpState
{
Unknown=0,
Closed=1,
Listen=2,
SynSent=3,
SynReceived=4,
Established=5,
FinWait1=6,
FinWait2=7,
CloseWait=8,
Closing=9,
LastAck=10,
TimeWait=11,
DeleteTcb=12,
}
publicabstractpartialclassTcpStatistics
{
protectedTcpStatistics(){}
publicabstractlongConnectionsAccepted{get;}
publicabstractlongConnectionsInitiated{get;}
publicabstractlongCumulativeConnections{get;}
publicabstractlongCurrentConnections{get;}
publicabstractlongErrorsReceived{get;}
publicabstractlongFailedConnectionAttempts{get;}
publicabstractlongMaximumConnections{get;}
publicabstractlongMaximumTransmissionTimeout{get;}
publicabstractlongMinimumTransmissionTimeout{get;}
publicabstractlongResetConnections{get;}
publicabstractlongResetsSent{get;}
publicabstractlongSegmentsReceived{get;}
publicabstractlongSegmentsResent{get;}
publicabstractlongSegmentsSent{get;}
}
publicabstractpartialclassUdpStatistics
{
protectedUdpStatistics(){}
publicabstractlongDatagramsReceived{get;}
publicabstractlongDatagramsSent{get;}
publicabstractlongIncomingDatagramsDiscarded{get;}
publicabstractlongIncomingDatagramsWithErrors{get;}
publicabstractintUdpListeners{get;}
}
publicabstractpartialclassUnicastIPAddressInformation:System.Net.NetworkInformation.IPAddressInformation
{
protectedUnicastIPAddressInformation(){}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractlongAddressPreferredLifetime{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractlongAddressValidLifetime{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractlongDhcpLeaseLifetime{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.DuplicateAddressDetectionStateDuplicateAddressDetectionState{get;}
publicabstractSystem.Net.IPAddressIPv4Mask{get;}
publicvirtualintPrefixLength{get{thrownull;}}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.PrefixOriginPrefixOrigin{get;}
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
publicabstractSystem.Net.NetworkInformation.SuffixOriginSuffixOrigin{get;}
}
publicpartialclassUnicastIPAddressInformationCollection:System.Collections.Generic.ICollection<System.Net.NetworkInformation.UnicastIPAddressInformation>,System.Collections.Generic.IEnumerable<System.Net.NetworkInformation.UnicastIPAddressInformation>,System.Collections.IEnumerable
{
protectedinternalUnicastIPAddressInformationCollection(){}
publicvirtualintCount{get{thrownull;}}
publicvirtualboolIsReadOnly{get{thrownull;}}
publicvirtualSystem.Net.NetworkInformation.UnicastIPAddressInformationthis[intindex]{get{thrownull;}}
publicvirtualvoidAdd(System.Net.NetworkInformation.UnicastIPAddressInformationaddress){}
publicvirtualvoidClear(){}
publicvirtualboolContains(System.Net.NetworkInformation.UnicastIPAddressInformationaddress){thrownull;}
publicvirtualvoidCopyTo(System.Net.NetworkInformation.UnicastIPAddressInformation[]array,intoffset){}
publicvirtualSystem.Collections.Generic.IEnumerator<System.Net.NetworkInformation.UnicastIPAddressInformation>GetEnumerator(){thrownull;}
publicvirtualboolRemove(System.Net.NetworkInformation.UnicastIPAddressInformationaddress){thrownull;}
System.Collections.IEnumeratorSystem.Collections.IEnumerable.GetEnumerator(){thrownull;}
}
}