Welcome to mirror list, hosted at ThFree Co, Russian Federation.

System.Net.cs « v4.7.2 « src - github.com/mono/reference-assemblies.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c251b902ac9712f5d1394e1fe28ead090a32a28 (plain)
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
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
[assembly:System.CLSCompliantAttribute(true)]
[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(263))]
[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")]
[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")]
[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Net.dll")]
[assembly:System.Reflection.AssemblyDescriptionAttribute("System.Net.dll")]
[assembly:System.Reflection.AssemblyFileVersionAttribute("4.7.3062.0")]
[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.7.3062.0")]
[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")]
[assembly:System.Reflection.AssemblyTitleAttribute("System.Net.dll")]
[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")]
[assembly:System.Resources.SatelliteContractVersionAttribute("4.0.0.0")]
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
[assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute((System.Runtime.InteropServices.DllImportSearchPath)(2050))]
[assembly:System.Security.AllowPartiallyTrustedCallersAttribute]
[assembly:System.Security.SecurityCriticalAttribute]
[assembly:System.Security.SecurityRulesAttribute((System.Security.SecurityRuleSet)(1), SkipVerificationInFullTrust=true)]
[assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, Execution=true)]
[assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Cookie))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CookieCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CookieContainer))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CookieException))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.DnsEndPoint))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.DownloadProgressChangedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.DownloadProgressChangedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.DownloadStringCompletedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.DownloadStringCompletedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.EndPoint))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpRequestHeader))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpStatusCode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpWebRequest))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpWebResponse))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.ICredentials))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.IPAddress))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.IPEndPoint))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.IWebRequestCreate))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkCredential))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkAddressChangedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkChange))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkInterface))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.OpenReadCompletedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.OpenReadCompletedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.OpenWriteCompletedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.OpenWriteCompletedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.ProtocolViolationException))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.SocketAddress))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.AddressFamily))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.ProtocolType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.Socket))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketAsyncEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketAsyncOperation))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketError))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketException))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketShutdown))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketType))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.UploadProgressChangedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.UploadProgressChangedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.UploadStringCompletedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.UploadStringCompletedEventHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebClient))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebException))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebExceptionStatus))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebHeaderCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebRequest))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebResponse))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WriteStreamClosedEventArgs))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WriteStreamClosedEventHandler))]
namespace System.Net
{
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial interface INetworkProgress
    {
        event System.EventHandler<System.Net.NetworkProgressChangedEventArgs> ProgressChanged;
        event System.EventHandler<System.Net.NetworkProgressChangedEventArgs> ProgressCompleted;
        event System.EventHandler<System.Net.NetworkProgressChangedEventArgs> ProgressFailed;
    }
    [System.SerializableAttribute]
    public partial class IPEndPointCollection : System.Collections.ObjectModel.Collection<System.Net.IPEndPoint>
    {
        public IPEndPointCollection() { }
        protected override void InsertItem(int index, System.Net.IPEndPoint item) { }
        protected override void SetItem(int index, System.Net.IPEndPoint item) { }
    }
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial interface IUnsafeWebRequestCreate
    {
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        System.Net.WebRequest Create(System.Uri uri);
    }
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial class NetworkProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs
    {
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public NetworkProgressChangedEventArgs(int percentage, int processedBytes, int totalBytes, object userState) : base (default(int), default(object)) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int ProcessedBytes { get { throw null; } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int TotalBytes { get { throw null; } }
    }
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public static partial class UiSynchronizationContext
    {
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public static System.Threading.SynchronizationContext Current { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public static int ManagedUiThreadId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
    }
}
namespace System.Net.PeerToPeer
{
    [System.SerializableAttribute]
    public partial class Cloud : System.IEquatable<System.Net.PeerToPeer.Cloud>, System.Runtime.Serialization.ISerializable
    {
        public static readonly System.Net.PeerToPeer.Cloud AllLinkLocal;
        public static readonly System.Net.PeerToPeer.Cloud Available;
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected Cloud(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public static System.Net.PeerToPeer.Cloud Global { get { throw null; } }
        public string Name { get { throw null; } }
        public System.Net.PeerToPeer.PnrpScope Scope { get { throw null; } }
        public int ScopeId { get { throw null; } }
        public bool Equals(System.Net.PeerToPeer.Cloud other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public static System.Net.PeerToPeer.CloudCollection GetAvailableClouds() { throw null; }
        public static System.Net.PeerToPeer.Cloud GetCloudByName(string cloudName) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class CloudCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.Cloud>
    {
        public CloudCollection() { }
        protected override void InsertItem(int index, System.Net.PeerToPeer.Cloud item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.Cloud item) { }
    }
    [System.SerializableAttribute]
    public partial class PeerName : System.IEquatable<System.Net.PeerToPeer.PeerName>, System.Runtime.Serialization.ISerializable
    {
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerName(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public PeerName(string remotePeerName) { }
        [System.Security.SecurityCriticalAttribute]
        public PeerName(string classifier, System.Net.PeerToPeer.PeerNameType peerNameType) { }
        public string Authority { get { throw null; } }
        public string Classifier { get { throw null; } }
        public bool IsSecured { get { throw null; } }
        public string PeerHostName { [System.Security.SecurityCriticalAttribute]get { throw null; } }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.PeerName CreateFromPeerHostName(string peerHostName) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.PeerName CreateRelativePeerName(System.Net.PeerToPeer.PeerName peerName, string classifier) { throw null; }
        public bool Equals(System.Net.PeerToPeer.PeerName other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerNameRecord : System.Runtime.Serialization.ISerializable
    {
        public PeerNameRecord() { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerNameRecord(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public string Comment { get { throw null; } set { } }
        public byte[] Data { get { throw null; } set { } }
        public System.Net.IPEndPointCollection EndPointCollection { get { throw null; } }
        public System.Net.PeerToPeer.PeerName PeerName { get { throw null; } set { } }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
    }
    [System.SerializableAttribute]
    public partial class PeerNameRecordCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.PeerNameRecord>
    {
        public PeerNameRecordCollection() { }
        protected override void InsertItem(int index, System.Net.PeerToPeer.PeerNameRecord item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.PeerNameRecord item) { }
    }
    [System.SerializableAttribute]
    public partial class PeerNameRegistration : System.IDisposable, System.Runtime.Serialization.ISerializable
    {
        public PeerNameRegistration() { }
        public PeerNameRegistration(System.Net.PeerToPeer.PeerName name, int port) { }
        public PeerNameRegistration(System.Net.PeerToPeer.PeerName name, int port, System.Net.PeerToPeer.Cloud cloud) { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerNameRegistration(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public System.Net.PeerToPeer.Cloud Cloud { get { throw null; } set { } }
        public string Comment { get { throw null; } set { } }
        public byte[] Data { get { throw null; } set { } }
        public System.Net.IPEndPointCollection EndPointCollection { get { throw null; } }
        public System.Net.PeerToPeer.PeerName PeerName { get { throw null; } set { } }
        public int Port { get { throw null; } set { } }
        public bool UseAutoEndPointSelection { get { throw null; } set { } }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public bool IsRegistered() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public void Start() { }
        [System.Security.SecurityCriticalAttribute]
        public void Stop() { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        public void Update() { }
    }
    public partial class PeerNameResolver
    {
        public PeerNameResolver() { }
        public event System.EventHandler<System.Net.PeerToPeer.ResolveCompletedEventArgs> ResolveCompleted { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.ResolveProgressChangedEventArgs> ResolveProgressChanged { add { } remove { } }
        protected void OnResolveCompleted(System.Net.PeerToPeer.ResolveCompletedEventArgs e) { }
        protected void OnResolveProgressChanged(System.Net.PeerToPeer.ResolveProgressChangedEventArgs e) { }
        public System.Net.PeerToPeer.PeerNameRecordCollection Resolve(System.Net.PeerToPeer.PeerName peerName) { throw null; }
        public System.Net.PeerToPeer.PeerNameRecordCollection Resolve(System.Net.PeerToPeer.PeerName peerName, int maxRecords) { throw null; }
        public System.Net.PeerToPeer.PeerNameRecordCollection Resolve(System.Net.PeerToPeer.PeerName peerName, System.Net.PeerToPeer.Cloud cloud) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.PeerNameRecordCollection Resolve(System.Net.PeerToPeer.PeerName peerName, System.Net.PeerToPeer.Cloud cloud, int maxRecords) { throw null; }
        [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)]
        public void ResolveAsync(System.Net.PeerToPeer.PeerName peerName, int maxRecords, object userState) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)]
        public void ResolveAsync(System.Net.PeerToPeer.PeerName peerName, System.Net.PeerToPeer.Cloud cloud, int maxRecords, object userState) { }
        [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)]
        public void ResolveAsync(System.Net.PeerToPeer.PeerName peerName, System.Net.PeerToPeer.Cloud cloud, object userState) { }
        [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)]
        public void ResolveAsync(System.Net.PeerToPeer.PeerName peerName, object userState) { }
        [System.Security.SecurityCriticalAttribute]
        public void ResolveAsyncCancel(object userState) { }
    }
    public enum PeerNameType
    {
        Secured = 0,
        Unsecured = 1,
    }
    [System.SerializableAttribute]
    public partial class PeerToPeerException : System.Exception, System.Runtime.Serialization.ISerializable
    {
        public PeerToPeerException() { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerToPeerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public PeerToPeerException(string message) { }
        public PeerToPeerException(string message, System.Exception innerException) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
    }
    [System.SerializableAttribute]
    public sealed partial class PnrpPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
    {
        public PnrpPermission(System.Security.Permissions.PermissionState state) { }
        public override System.Security.IPermission Copy() { throw null; }
        public override void FromXml(System.Security.SecurityElement e) { }
        public override System.Security.IPermission Intersect(System.Security.IPermission target) { throw null; }
        public override bool IsSubsetOf(System.Security.IPermission target) { throw null; }
        public bool IsUnrestricted() { throw null; }
        public override System.Security.SecurityElement ToXml() { throw null; }
        public override System.Security.IPermission Union(System.Security.IPermission target) { throw null; }
    }
    [System.AttributeUsageAttribute((System.AttributeTargets)(109), AllowMultiple=true, Inherited=false)]
    [System.SerializableAttribute]
    public sealed partial class PnrpPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute
    {
        public PnrpPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { }
        public override System.Security.IPermission CreatePermission() { throw null; }
    }
    public enum PnrpScope
    {
        All = 0,
        Global = 1,
        LinkLocal = 3,
        SiteLocal = 2,
    }
    public partial class ResolveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {
        public ResolveCompletedEventArgs(System.Net.PeerToPeer.PeerNameRecordCollection peerNameRecordCollection, System.Exception error, bool canceled, object userToken) : base (default(System.Exception), default(bool), default(object)) { }
        public System.Net.PeerToPeer.PeerNameRecordCollection PeerNameRecordCollection { get { throw null; } }
    }
    public partial class ResolveProgressChangedEventArgs : System.ComponentModel.ProgressChangedEventArgs
    {
        public ResolveProgressChangedEventArgs(System.Net.PeerToPeer.PeerNameRecord peerNameRecord, object userToken) : base (default(int), default(object)) { }
        public System.Net.PeerToPeer.PeerNameRecord PeerNameRecord { get { throw null; } }
    }
}
namespace System.Net.PeerToPeer.Collaboration
{
    public partial class ApplicationChangedEventArgs : System.EventArgs
    {
        internal ApplicationChangedEventArgs() { }
        public System.Net.PeerToPeer.Collaboration.PeerApplication PeerApplication { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerChangeType PeerChangeType { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
    }
    public sealed partial class ContactManager : System.IDisposable
    {
        internal ContactManager() { }
        public static System.Net.PeerToPeer.Collaboration.PeerContact LocalContact { [System.Security.SecurityCriticalAttribute]get { throw null; } }
        [System.ComponentModel.BrowsableAttribute(false)]
        [System.ComponentModel.DefaultValueAttribute(null)]
        [System.ComponentModel.DescriptionAttribute("SynchronizingObject")]
        public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs> ApplicationChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.CreateContactCompletedEventArgs> CreateContactCompleted { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.NameChangedEventArgs> NameChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs> ObjectChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs> PresenceChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.SubscriptionListChangedEventArgs> SubscriptionListChanged { add { } remove { } }
        [System.Security.SecurityCriticalAttribute]
        public void AddContact(System.Net.PeerToPeer.Collaboration.PeerContact peerContact) { }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerContact CreateContact(System.Net.PeerToPeer.Collaboration.PeerNearMe peerNearMe) { throw null; }
        public void CreateContactAsync(System.Net.PeerToPeer.Collaboration.PeerNearMe peerNearMe, object userToken) { }
        public void DeleteContact(System.Net.PeerToPeer.Collaboration.PeerContact peerContact) { }
        [System.Security.SecurityCriticalAttribute]
        public void DeleteContact(System.Net.PeerToPeer.PeerName peerName) { }
        [System.Security.SecurityCriticalAttribute]
        public void Dispose() { }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerContact GetContact(System.Net.PeerToPeer.PeerName peerName) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerContactCollection GetContacts() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public void UpdateContact(System.Net.PeerToPeer.Collaboration.PeerContact peerContact) { }
    }
    public partial class CreateContactCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {
        internal CreateContactCompletedEventArgs() : base (default(System.Exception), default(bool), default(object)) { }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
    }
    public partial class InviteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {
        internal InviteCompletedEventArgs() : base (default(System.Exception), default(bool), default(object)) { }
        public System.Net.PeerToPeer.Collaboration.PeerInvitationResponse InviteResponse { get { throw null; } }
    }
    public partial class NameChangedEventArgs : System.EventArgs
    {
        internal NameChangedEventArgs() { }
        public string Name { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
    }
    public partial class ObjectChangedEventArgs : System.EventArgs
    {
        internal ObjectChangedEventArgs() { }
        public System.Net.PeerToPeer.Collaboration.PeerChangeType PeerChangeType { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerObject PeerObject { get { throw null; } }
    }
    [System.SerializableAttribute]
    public abstract partial class Peer : System.IDisposable, System.IEquatable<System.Net.PeerToPeer.Collaboration.Peer>, System.Runtime.Serialization.ISerializable
    {
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected Peer(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { }
        public bool IsOnline { get { throw null; } }
        public virtual System.Net.PeerToPeer.Collaboration.PeerEndPointCollection PeerEndPoints { get { throw null; } }
        [System.ComponentModel.BrowsableAttribute(false)]
        [System.ComponentModel.DefaultValueAttribute(null)]
        [System.ComponentModel.DescriptionAttribute("SynchronizingObject")]
        public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.InviteCompletedEventArgs> InviteCompleted { add { } remove { } }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.Peer other) { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerObjectCollection GetObjects() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerObjectCollection GetObjects(System.Guid objectId) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerPresenceInfo GetPresenceInfo(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint) { throw null; }
        public abstract System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite();
        public abstract System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite(System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData);
        public abstract void InviteAsync(System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData, object userToken);
        public abstract void InviteAsync(object userToken);
        [System.Security.SecurityCriticalAttribute]
        public void InviteAsyncCancel(object userToken) { }
        protected virtual void OnInviteCompleted(System.Net.PeerToPeer.Collaboration.InviteCompletedEventArgs e) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerApplication : System.IDisposable, System.IEquatable<System.Net.PeerToPeer.Collaboration.PeerApplication>, System.Runtime.Serialization.ISerializable
    {
        public PeerApplication() { }
        public PeerApplication(System.Guid id, string description, byte[] data, string path, string commandLineArgs, System.Net.PeerToPeer.Collaboration.PeerScope peerScope) { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerApplication(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { }
        public string CommandLineArgs { get { throw null; } set { } }
        public byte[] Data { get { throw null; } set { } }
        public string Description { get { throw null; } set { } }
        public System.Guid Id { get { throw null; } set { } }
        public string Path { get { throw null; } set { } }
        public System.Net.PeerToPeer.Collaboration.PeerScope PeerScope { get { throw null; } set { } }
        [System.ComponentModel.BrowsableAttribute(false)]
        [System.ComponentModel.DefaultValueAttribute(null)]
        [System.ComponentModel.DescriptionAttribute("SynchronizingObject")]
        public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs> ApplicationChanged { add { } remove { } }
        [System.Security.SecurityCriticalAttribute]
        public void Dispose() { }
        [System.Security.SecurityCriticalAttribute]
        protected virtual void Dispose(bool disposing) { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.PeerApplication other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public static new bool Equals(object objA, object objB) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        protected virtual void OnApplicationChanged(System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs appChangedArgs) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerApplicationCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.Collaboration.PeerApplication>
    {
        internal PeerApplicationCollection() { }
        protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerApplication item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerApplication item) { }
        public override string ToString() { throw null; }
    }
    public partial class PeerApplicationLaunchInfo
    {
        internal PeerApplicationLaunchInfo() { }
        public byte[] Data { get { throw null; } }
        public string Message { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerApplication PeerApplication { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
    }
    public enum PeerApplicationRegistrationType
    {
        AllUsers = 1,
        CurrentUser = 0,
    }
    public enum PeerChangeType
    {
        Added = 0,
        Deleted = 1,
        Updated = 2,
    }
    public static partial class PeerCollaboration
    {
        public static System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo ApplicationLaunchInfo { [System.Security.SecurityCriticalAttribute]get { throw null; } }
        public static System.Net.PeerToPeer.Collaboration.ContactManager ContactManager { [System.Security.SecurityCriticalAttribute]get { throw null; } }
        public static string LocalEndPointName { [System.Security.SecurityCriticalAttribute]get { throw null; } [System.Security.SecurityCriticalAttribute]set { } }
        public static System.Net.PeerToPeer.Collaboration.PeerPresenceInfo LocalPresenceInfo { [System.Security.SecurityCriticalAttribute]get { throw null; } [System.Security.SecurityCriticalAttribute]set { } }
        public static System.Net.PeerToPeer.Collaboration.PeerScope SignInScope { [System.Security.SecurityCriticalAttribute]get { throw null; } }
        [System.ComponentModel.BrowsableAttribute(false)]
        [System.ComponentModel.DefaultValueAttribute(null)]
        [System.ComponentModel.DescriptionAttribute("SynchronizingObject")]
        public static System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } }
        public static event System.EventHandler<System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs> LocalApplicationChanged { add { } remove { } }
        public static event System.EventHandler<System.Net.PeerToPeer.Collaboration.NameChangedEventArgs> LocalNameChanged { add { } remove { } }
        public static event System.EventHandler<System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs> LocalObjectChanged { add { } remove { } }
        public static event System.EventHandler<System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs> LocalPresenceChanged { add { } remove { } }
        [System.Security.SecurityCriticalAttribute]
        public static void DeleteObject(System.Net.PeerToPeer.Collaboration.PeerObject peerObject) { }
        public static System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetLocalRegisteredApplications() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetLocalRegisteredApplications(System.Net.PeerToPeer.Collaboration.PeerApplicationRegistrationType type) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.Collaboration.PeerObjectCollection GetLocalSetObjects() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.Collaboration.PeerNearMeCollection GetPeersNearMe() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static void RegisterApplication(System.Net.PeerToPeer.Collaboration.PeerApplication application, System.Net.PeerToPeer.Collaboration.PeerApplicationRegistrationType type) { }
        [System.Security.SecurityCriticalAttribute]
        public static void SetObject(System.Net.PeerToPeer.Collaboration.PeerObject peerObject) { }
        [System.Security.SecurityCriticalAttribute]
        public static void SignIn(System.Net.PeerToPeer.Collaboration.PeerScope peerScope) { }
        [System.Security.SecurityCriticalAttribute]
        public static void SignOut(System.Net.PeerToPeer.Collaboration.PeerScope peerScope) { }
        [System.Security.SecurityCriticalAttribute]
        public static void UnregisterApplication(System.Net.PeerToPeer.Collaboration.PeerApplication application, System.Net.PeerToPeer.Collaboration.PeerApplicationRegistrationType type) { }
    }
    [System.SerializableAttribute]
    public sealed partial class PeerCollaborationPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
    {
        public PeerCollaborationPermission(System.Security.Permissions.PermissionState state) { }
        public override System.Security.IPermission Copy() { throw null; }
        public override void FromXml(System.Security.SecurityElement e) { }
        public override System.Security.IPermission Intersect(System.Security.IPermission target) { throw null; }
        public override bool IsSubsetOf(System.Security.IPermission target) { throw null; }
        public bool IsUnrestricted() { throw null; }
        public override System.Security.SecurityElement ToXml() { throw null; }
        public override System.Security.IPermission Union(System.Security.IPermission target) { throw null; }
    }
    [System.AttributeUsageAttribute((System.AttributeTargets)(109), AllowMultiple=true, Inherited=false)]
    [System.SerializableAttribute]
    public sealed partial class PeerCollaborationPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute
    {
        public PeerCollaborationPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { }
        public override System.Security.IPermission CreatePermission() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerContact : System.Net.PeerToPeer.Collaboration.Peer, System.IEquatable<System.Net.PeerToPeer.Collaboration.PeerContact>, System.Runtime.Serialization.ISerializable
    {
        [System.Security.SecurityCriticalAttribute]
        protected PeerContact(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) : base (default(System.Runtime.Serialization.SerializationInfo), default(System.Runtime.Serialization.StreamingContext)) { }
        public System.Security.Cryptography.X509Certificates.X509Certificate2 Credentials { get { throw null; } }
        public string DisplayName { get { throw null; } set { } }
        public System.Net.Mail.MailAddress EmailAddress { get { throw null; } set { } }
        public bool IsSubscribed { get { throw null; } }
        public string Nickname { get { throw null; } set { } }
        public override System.Net.PeerToPeer.Collaboration.PeerEndPointCollection PeerEndPoints { [System.Security.SecurityCriticalAttribute]get { throw null; } }
        public System.Net.PeerToPeer.PeerName PeerName { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.SubscriptionType SubscribeAllowed { get { throw null; } set { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs> ApplicationChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs> ObjectChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs> PresenceChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.SubscribeCompletedEventArgs> SubscribeCompleted { add { } remove { } }
        [System.Security.SecurityCriticalAttribute]
        protected override void Dispose(bool disposing) { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.PeerContact other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public static new bool Equals(object objA, object objB) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.Collaboration.PeerContact FromXml(string peerContactXml) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications(System.Guid applicationId) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerApplicationCollection GetApplications(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint, System.Guid applicationId) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerObjectCollection GetObjects(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerObjectCollection GetObjects(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint, System.Guid objectId) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public override System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public override System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite(System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint, System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public override void InviteAsync(System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData, object userToken) { }
        [System.Security.SecurityCriticalAttribute]
        public void InviteAsync(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint, object userToken) { }
        [System.Security.SecurityCriticalAttribute]
        public void InviteAsync(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint, string message, byte[] invitationData, System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, object userToken) { }
        [System.Security.SecurityCriticalAttribute]
        public override void InviteAsync(object userToken) { }
        protected virtual void OnApplicationChanged(System.Net.PeerToPeer.Collaboration.ApplicationChangedEventArgs appChangedArgs) { }
        protected virtual void OnObjectChanged(System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs objChangedArgs) { }
        protected virtual void OnPresenceChanged(System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs presenceChangedArgs) { }
        protected void OnSubscribeCompleted(System.Net.PeerToPeer.Collaboration.SubscribeCompletedEventArgs e) { }
        public virtual void Subscribe() { }
        public virtual void SubscribeAsync(object userToken) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public string ToXml() { throw null; }
        public virtual void Unsubscribe() { }
    }
    [System.SerializableAttribute]
    public partial class PeerContactCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.Collaboration.PeerContact>
    {
        internal PeerContactCollection() { }
        protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerContact item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerContact item) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerEndPoint : System.IDisposable, System.IEquatable<System.Net.PeerToPeer.Collaboration.PeerEndPoint>, System.Runtime.Serialization.ISerializable
    {
        public PeerEndPoint() { }
        public PeerEndPoint(System.Net.IPEndPoint endPoint) { }
        public PeerEndPoint(System.Net.IPEndPoint endPoint, string endPointName) { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerEndPoint(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { }
        public System.Net.IPEndPoint EndPoint { get { throw null; } set { } }
        public string Name { get { throw null; } set { } }
        [System.ComponentModel.BrowsableAttribute(false)]
        [System.ComponentModel.DefaultValueAttribute(null)]
        [System.ComponentModel.DescriptionAttribute("SynchronizingObject")]
        public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.NameChangedEventArgs> NameChanged { add { } remove { } }
        [System.Security.SecurityCriticalAttribute]
        public void Dispose() { }
        [System.Security.SecurityCriticalAttribute]
        protected virtual void Dispose(bool disposing) { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.PeerEndPoint other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public static new bool Equals(object objA, object objB) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        protected void OnNameChanged(System.Net.PeerToPeer.Collaboration.NameChangedEventArgs nameChangedArgs) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerEndPointCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.Collaboration.PeerEndPoint>, System.IEquatable<System.Net.PeerToPeer.Collaboration.PeerEndPointCollection>
    {
        internal PeerEndPointCollection() { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.PeerEndPointCollection other) { throw null; }
        protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerEndPoint item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerEndPoint item) { }
        public override string ToString() { throw null; }
    }
    public partial class PeerInvitationResponse
    {
        internal PeerInvitationResponse() { }
        public System.Net.PeerToPeer.Collaboration.PeerInvitationResponseType PeerInvitationResponseType { get { throw null; } }
    }
    public enum PeerInvitationResponseType
    {
        Accepted = 1,
        Declined = 0,
        Expired = 2,
    }
    [System.SerializableAttribute]
    public partial class PeerNearMe : System.Net.PeerToPeer.Collaboration.Peer, System.IEquatable<System.Net.PeerToPeer.Collaboration.PeerNearMe>, System.Runtime.Serialization.ISerializable
    {
        public PeerNearMe() : base (default(System.Runtime.Serialization.SerializationInfo), default(System.Runtime.Serialization.StreamingContext)) { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerNearMe(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) : base (default(System.Runtime.Serialization.SerializationInfo), default(System.Runtime.Serialization.StreamingContext)) { }
        public string Nickname { get { throw null; } }
        public static event System.EventHandler<System.Net.PeerToPeer.Collaboration.PeerNearMeChangedEventArgs> PeerNearMeChanged { add { } remove { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.RefreshDataCompletedEventArgs> RefreshDataCompleted { add { } remove { } }
        public System.Net.PeerToPeer.Collaboration.PeerContact AddToContactManager() { throw null; }
        public System.Net.PeerToPeer.Collaboration.PeerContact AddToContactManager(string displayName, string nickname, System.Net.Mail.MailAddress emailAddress) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public static System.Net.PeerToPeer.Collaboration.PeerNearMe CreateFromPeerEndPoint(System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint) { throw null; }
        protected override void Dispose(bool disposing) { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.PeerNearMe other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public static new bool Equals(object objA, object objB) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        [System.Security.SecurityCriticalAttribute]
        protected internal void InternalRefreshData(object state) { }
        [System.Security.SecurityCriticalAttribute]
        public override System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite() { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public override System.Net.PeerToPeer.Collaboration.PeerInvitationResponse Invite(System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData) { throw null; }
        [System.Security.SecurityCriticalAttribute]
        public override void InviteAsync(System.Net.PeerToPeer.Collaboration.PeerApplication applicationToInvite, string message, byte[] invitationData, object userToken) { }
        [System.Security.SecurityCriticalAttribute]
        public override void InviteAsync(object userToken) { }
        protected void OnRefreshDataCompleted(System.Net.PeerToPeer.Collaboration.RefreshDataCompletedEventArgs e) { }
        [System.Security.SecurityCriticalAttribute]
        public void RefreshData() { }
        [System.Security.SecurityCriticalAttribute]
        public void RefreshDataAsync(object userToken) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    public partial class PeerNearMeChangedEventArgs : System.EventArgs
    {
        internal PeerNearMeChangedEventArgs() { }
        public System.Net.PeerToPeer.Collaboration.PeerChangeType PeerChangeType { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerNearMe PeerNearMe { get { throw null; } }
    }
    [System.SerializableAttribute]
    public partial class PeerNearMeCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.Collaboration.PeerNearMe>
    {
        internal PeerNearMeCollection() { }
        protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerNearMe item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerNearMe item) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerObject : System.IDisposable, System.IEquatable<System.Net.PeerToPeer.Collaboration.PeerObject>, System.Runtime.Serialization.ISerializable
    {
        public PeerObject() { }
        public PeerObject(System.Guid Id, byte[] data, System.Net.PeerToPeer.Collaboration.PeerScope peerScope) { }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128))]
        protected PeerObject(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { }
        public byte[] Data { get { throw null; } set { } }
        public System.Guid Id { get { throw null; } set { } }
        public System.Net.PeerToPeer.Collaboration.PeerScope PeerScope { get { throw null; } set { } }
        [System.ComponentModel.BrowsableAttribute(false)]
        [System.ComponentModel.DefaultValueAttribute(null)]
        [System.ComponentModel.DescriptionAttribute("SynchronizingObject")]
        public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } }
        public event System.EventHandler<System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs> ObjectChanged { add { } remove { } }
        [System.Security.SecurityCriticalAttribute]
        public void Dispose() { }
        [System.Security.SecurityCriticalAttribute]
        protected virtual void Dispose(bool disposing) { }
        public bool Equals(System.Net.PeerToPeer.Collaboration.PeerObject other) { throw null; }
        public override bool Equals(object obj) { throw null; }
        public static new bool Equals(object objA, object objB) { throw null; }
        public override int GetHashCode() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SerializationFormatter=true)]
        protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        protected virtual void OnObjectChanged(System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs objChangedArgs) { }
        [System.Security.SecurityCriticalAttribute]
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(128), SerializationFormatter=true)]
        void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public override string ToString() { throw null; }
    }
    [System.SerializableAttribute]
    public partial class PeerObjectCollection : System.Collections.ObjectModel.Collection<System.Net.PeerToPeer.Collaboration.PeerObject>
    {
        internal PeerObjectCollection() { }
        protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerObject item) { }
        protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerObject item) { }
        public override string ToString() { throw null; }
    }
    public partial class PeerPresenceInfo
    {
        public PeerPresenceInfo() { }
        public PeerPresenceInfo(System.Net.PeerToPeer.Collaboration.PeerPresenceStatus presenceStatus, string description) { }
        public string DescriptiveText { get { throw null; } set { } }
        public System.Net.PeerToPeer.Collaboration.PeerPresenceStatus PresenceStatus { get { throw null; } set { } }
    }
    public enum PeerPresenceStatus
    {
        Away = 2,
        BeRightBack = 3,
        Busy = 5,
        Idle = 4,
        Offline = 0,
        Online = 7,
        OnThePhone = 6,
        OutToLunch = 1,
    }
    public enum PeerScope
    {
        All = 3,
        Internet = 2,
        NearMe = 1,
        None = 0,
    }
    public partial class PresenceChangedEventArgs : System.EventArgs
    {
        internal PresenceChangedEventArgs() { }
        public System.Net.PeerToPeer.Collaboration.PeerChangeType PeerChangeType { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerPresenceInfo PeerPresenceInfo { get { throw null; } }
    }
    public partial class RefreshDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {
        internal RefreshDataCompletedEventArgs() : base (default(System.Exception), default(bool), default(object)) { }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
    }
    public partial class SubscribeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {
        internal SubscribeCompletedEventArgs() : base (default(System.Exception), default(bool), default(object)) { }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerNearMe PeerNearMe { get { throw null; } }
    }
    public partial class SubscriptionListChangedEventArgs : System.EventArgs
    {
        internal SubscriptionListChangedEventArgs() { }
        public System.Net.PeerToPeer.Collaboration.PeerChangeType PeerChangeType { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get { throw null; } }
        public System.Net.PeerToPeer.Collaboration.PeerEndPoint PeerEndPoint { get { throw null; } }
    }
    public enum SubscriptionType
    {
        Allowed = 1,
        Blocked = 0,
    }
}
namespace System.Net.Sockets
{
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial class HttpPolicyDownloaderProtocol
    {
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public HttpPolicyDownloaderProtocol(System.Uri appUri, System.Net.IPAddress address) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.Net.Sockets.SocketPolicy Result { get { throw null; } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void Abort() { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void BeginDownload(System.Net.Sockets.SecurityCriticalAction callback) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void DownloadCallback(System.IAsyncResult ar) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void ReadCallback(System.IAsyncResult ar) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public static void RegisterUnsafeWebRequestCreator(System.Net.IUnsafeWebRequestCreate creator) { }
    }
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public delegate void SecurityCriticalAction();
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial class SocketPolicy
    {
        public SocketPolicy() { }
    }
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial class UdpAnySourceMulticastClient : System.IDisposable
    {
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public UdpAnySourceMulticastClient(System.Net.IPAddress groupAddress, int localPort) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public bool MulticastLoopback { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int ReceiveBufferSize { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int SendBufferSize { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginJoinGroup(System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginReceiveFromGroup(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginSendTo(byte[] buffer, int offset, int count, System.Net.IPEndPoint remoteEndPoint, System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginSendToGroup(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void BlockSource(System.Net.IPAddress sourceAddress) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void Dispose() { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void EndJoinGroup(System.IAsyncResult result) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int EndReceiveFromGroup(System.IAsyncResult result, out System.Net.IPEndPoint source) { source = default(System.Net.IPEndPoint); throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void EndSendTo(System.IAsyncResult result) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void EndSendToGroup(System.IAsyncResult result) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void UnblockSource(System.Net.IPAddress sourceAddress) { }
    }
    [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
    [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
    public partial class UdpSingleSourceMulticastClient : System.IDisposable
    {
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public UdpSingleSourceMulticastClient(System.Net.IPAddress sourceAddress, System.Net.IPAddress groupAddress, int localPort) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int ReceiveBufferSize { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int SendBufferSize { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginJoinGroup(System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginReceiveFromSource(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public System.IAsyncResult BeginSendToSource(byte[] buffer, int offset, int count, int remotePort, System.AsyncCallback callback, object state) { throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void Dispose() { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void EndJoinGroup(System.IAsyncResult result) { }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public int EndReceiveFromSource(System.IAsyncResult result, out int sourcePort) { sourcePort = default(int); throw null; }
        [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
        [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
        public void EndSendToSource(System.IAsyncResult result) { }
    }
}