1 //------------------------------------------------------------------------------ 2 // <copyright file="Peer.cs" company="Microsoft"> 3 // Copyright (c) Microsoft Corporation. All rights reserved. 4 // </copyright> 5 //------------------------------------------------------------------------------ 6 using System; 7 using System.Security.Permissions; 8 using System.Security; 9 using System.Runtime.CompilerServices; 10 11 // These types exist in System.Net.dll in Silverlight but in System.dll in the Framework. 12 // Forward them so people can build portable libraries without changing assembly references. 13 [assembly: TypeForwardedToAttribute(typeof(System.Net.Cookie))] 14 [assembly: TypeForwardedToAttribute(typeof(System.Net.CookieCollection))] 15 [assembly: TypeForwardedToAttribute(typeof(System.Net.CookieContainer))] 16 [assembly: TypeForwardedToAttribute(typeof(System.Net.CookieException))] 17 [assembly: TypeForwardedToAttribute(typeof(System.Net.DownloadProgressChangedEventArgs))] 18 [assembly: TypeForwardedToAttribute(typeof(System.Net.DownloadProgressChangedEventHandler))] 19 [assembly: TypeForwardedToAttribute(typeof(System.Net.DownloadStringCompletedEventArgs))] 20 [assembly: TypeForwardedToAttribute(typeof(System.Net.DownloadStringCompletedEventHandler))] 21 [assembly: TypeForwardedToAttribute(typeof(System.Net.HttpRequestHeader))] 22 [assembly: TypeForwardedToAttribute(typeof(System.Net.HttpStatusCode))] 23 [assembly: TypeForwardedToAttribute(typeof(System.Net.HttpWebRequest))] 24 [assembly: TypeForwardedToAttribute(typeof(System.Net.HttpWebResponse))] 25 [assembly: TypeForwardedToAttribute(typeof(System.Net.ICredentials))] 26 [assembly: TypeForwardedToAttribute(typeof(System.Net.IWebRequestCreate))] 27 [assembly: TypeForwardedToAttribute(typeof(System.Net.NetworkCredential))] 28 [assembly: TypeForwardedToAttribute(typeof(System.Net.OpenReadCompletedEventArgs))] 29 [assembly: TypeForwardedToAttribute(typeof(System.Net.OpenReadCompletedEventHandler))] 30 [assembly: TypeForwardedToAttribute(typeof(System.Net.OpenWriteCompletedEventArgs))] 31 [assembly: TypeForwardedToAttribute(typeof(System.Net.OpenWriteCompletedEventHandler))] 32 [assembly: TypeForwardedToAttribute(typeof(System.Net.ProtocolViolationException))] 33 [assembly: TypeForwardedToAttribute(typeof(System.Net.UploadProgressChangedEventArgs))] 34 [assembly: TypeForwardedToAttribute(typeof(System.Net.UploadProgressChangedEventHandler))] 35 [assembly: TypeForwardedToAttribute(typeof(System.Net.UploadStringCompletedEventArgs))] 36 [assembly: TypeForwardedToAttribute(typeof(System.Net.UploadStringCompletedEventHandler))] 37 [assembly: TypeForwardedToAttribute(typeof(System.Net.WebClient))] 38 [assembly: TypeForwardedToAttribute(typeof(System.Net.WebException))] 39 [assembly: TypeForwardedToAttribute(typeof(System.Net.WebExceptionStatus))] 40 [assembly: TypeForwardedToAttribute(typeof(System.Net.WebHeaderCollection))] 41 [assembly: TypeForwardedToAttribute(typeof(System.Net.WebRequest))] 42 [assembly: TypeForwardedToAttribute(typeof(System.Net.WebResponse))] 43 [assembly: TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkAddressChangedEventHandler))] 44 [assembly: TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkChange))] 45 [assembly: TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkInterface))] 46 47 [assembly: TypeForwardedToAttribute(typeof(System.Net.DnsEndPoint))] 48 [assembly: TypeForwardedToAttribute(typeof(System.Net.EndPoint))] 49 [assembly: TypeForwardedToAttribute(typeof(System.Net.IPAddress))] 50 [assembly: TypeForwardedToAttribute(typeof(System.Net.IPEndPoint))] 51 [assembly: TypeForwardedToAttribute(typeof(System.Net.SocketAddress))] 52 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.AddressFamily))] 53 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.ProtocolType))] 54 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.Socket))] 55 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketAsyncEventArgs))] 56 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketAsyncOperation))] 57 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketError))] 58 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketException))] 59 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketShutdown))] 60 [assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.SocketType))] 61 [assembly: TypeForwardedToAttribute(typeof(System.Net.WriteStreamClosedEventArgs))] 62 [assembly: TypeForwardedToAttribute(typeof(System.Net.WriteStreamClosedEventHandler))] 63 64 65 [assembly: SecurityCritical] 66 #pragma warning disable 618 67 [assembly:SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] 68 #pragma warning restore 618 69 namespace System.Net.PeerToPeer 70 { 71 } 72