mscorlib(4.0.0.0) API with additions
IPGlobalProperties.cs
3 
5 {
7  [global::__DynamicallyInvokable]
8  public abstract class IPGlobalProperties
9  {
13  [global::__DynamicallyInvokable]
14  public abstract string DhcpScopeName
15  {
16  [global::__DynamicallyInvokable]
17  get;
18  }
19 
23  [global::__DynamicallyInvokable]
24  public abstract string DomainName
25  {
26  [global::__DynamicallyInvokable]
27  get;
28  }
29 
33  [global::__DynamicallyInvokable]
34  public abstract string HostName
35  {
36  [global::__DynamicallyInvokable]
37  get;
38  }
39 
44  [global::__DynamicallyInvokable]
45  public abstract bool IsWinsProxy
46  {
47  [global::__DynamicallyInvokable]
48  get;
49  }
50 
54  [global::__DynamicallyInvokable]
55  public abstract NetBiosNodeType NodeType
56  {
57  [global::__DynamicallyInvokable]
58  get;
59  }
60 
63  [global::__DynamicallyInvokable]
65  {
67  return new SystemIPGlobalProperties();
68  }
69 
70  internal static IPGlobalProperties InternalGetIPGlobalProperties()
71  {
72  return new SystemIPGlobalProperties();
73  }
74 
78  [global::__DynamicallyInvokable]
79  public abstract IPEndPoint[] GetActiveUdpListeners();
80 
84  [global::__DynamicallyInvokable]
85  public abstract IPEndPoint[] GetActiveTcpListeners();
86 
90  [global::__DynamicallyInvokable]
91  public abstract TcpConnectionInformation[] GetActiveTcpConnections();
92 
96  [global::__DynamicallyInvokable]
97  public abstract TcpStatistics GetTcpIPv4Statistics();
98 
103  [global::__DynamicallyInvokable]
104  public abstract TcpStatistics GetTcpIPv6Statistics();
105 
109  [global::__DynamicallyInvokable]
110  public abstract UdpStatistics GetUdpIPv4Statistics();
111 
116  [global::__DynamicallyInvokable]
117  public abstract UdpStatistics GetUdpIPv6Statistics();
118 
122  [global::__DynamicallyInvokable]
123  public abstract IcmpV4Statistics GetIcmpV4Statistics();
124 
129  [global::__DynamicallyInvokable]
130  public abstract IcmpV6Statistics GetIcmpV6Statistics();
131 
135  [global::__DynamicallyInvokable]
136  public abstract IPGlobalStatistics GetIPv4GlobalStatistics();
137 
142  [global::__DynamicallyInvokable]
143  public abstract IPGlobalStatistics GetIPv6GlobalStatistics();
144 
151  [global::__DynamicallyInvokable]
153  {
154  throw ExceptionHelper.MethodNotImplementedException;
155  }
156 
163  [global::__DynamicallyInvokable]
164  public virtual IAsyncResult BeginGetUnicastAddresses(AsyncCallback callback, object state)
165  {
166  throw ExceptionHelper.MethodNotImplementedException;
167  }
168 
175  [global::__DynamicallyInvokable]
177  {
178  throw ExceptionHelper.MethodNotImplementedException;
179  }
180 
186  [global::__DynamicallyInvokable]
187  [HostProtection(SecurityAction.LinkDemand, ExternalThreading = true)]
189  {
191  }
192 
194  [global::__DynamicallyInvokable]
195  protected IPGlobalProperties()
196  {
197  }
198  }
199 }
static new TaskFactory< TResult > Factory
Provides access to factory methods for creating and configuring T:System.Threading....
Definition: Task.cs:75
abstract string HostName
Gets the host name for the local computer.
abstract IPEndPoint [] GetActiveTcpListeners()
Returns endpoint information about the Internet Protocol version 4 (IPv4) and IPv6 Transmission Contr...
static IPGlobalProperties GetIPGlobalProperties()
Gets an object that provides information about the local computer's network connectivity and traffic ...
Stores a set of T:System.Net.NetworkInformation.UnicastIPAddressInformation types.
Definition: __Canon.cs:3
abstract string DomainName
Gets the domain in which the local computer is registered.
abstract bool IsWinsProxy
Gets a T:System.Boolean value that specifies whether the local computer is acting as a Windows Intern...
delegate void AsyncCallback(IAsyncResult ar)
References a method to be called when a corresponding asynchronous operation completes.
abstract NetBiosNodeType NodeType
Gets the Network Basic Input/Output System (NetBIOS) node type of the local computer.
abstract TcpStatistics GetTcpIPv4Statistics()
Provides Transmission Control Protocol/Internet Protocol version 4 (TCP/IPv4) statistical data for th...
abstract UdpStatistics GetUdpIPv6Statistics()
Provides User Datagram Protocol/Internet Protocol version 6 (UDP/IPv6) statistical data for the local...
Provides information about the network connectivity of the local computer.
SecurityAction
Specifies the security actions that can be performed using declarative security.
abstract TcpConnectionInformation [] GetActiveTcpConnections()
Returns information about the Internet Protocol version 4 (IPv4) and IPv6 Transmission Control Protoc...
abstract UdpStatistics GetUdpIPv4Statistics()
Provides User Datagram Protocol/Internet Protocol version 4 (UDP/IPv4) statistical data for the local...
Represents the status of an asynchronous operation.
Definition: IAsyncResult.cs:9
abstract IPGlobalStatistics GetIPv6GlobalStatistics()
Provides Internet Protocol version 6 (IPv6) statistical data for the local computer.
Represents a network endpoint as an IP address and a port number.
Definition: IPEndPoint.cs:9
virtual UnicastIPAddressInformationCollection GetUnicastAddresses()
Retrieves the stable unicast IP address table on the local computer.
virtual IAsyncResult BeginGetUnicastAddresses(AsyncCallback callback, object state)
Begins an asynchronous request to retrieve the stable unicast IP address table on the local computer.
virtual UnicastIPAddressInformationCollection EndGetUnicastAddresses(IAsyncResult asyncResult)
Ends a pending asynchronous request to retrieve the stable unicast IP address table on the local comp...
abstract IcmpV6Statistics GetIcmpV6Statistics()
Provides Internet Control Message Protocol (ICMP) version 6 statistical data for the local computer.
abstract IPEndPoint [] GetActiveUdpListeners()
Returns information about the Internet Protocol version 4 (IPv4) and IPv6 User Datagram Protocol (UDP...
void Demand()
Forces a T:System.Security.SecurityException at run time if all callers higher in the call stack have...
abstract IcmpV4Statistics GetIcmpV4Statistics()
Provides Internet Control Message Protocol (ICMP) version 4 statistical data for the local computer.
NetworkInformationAccess
Specifies permission to access information about network interfaces and traffic statistics.
IPGlobalProperties()
Initializes a new instance of the T:System.Net.NetworkInformation.IPGlobalProperties class.
virtual Task< UnicastIPAddressInformationCollection > GetUnicastAddressesAsync()
Retrieves the stable unicast IP address table on the local computer as an asynchronous operation.
abstract IPGlobalStatistics GetIPv4GlobalStatistics()
Provides Internet Protocol version 4 (IPv4) statistical data for the local computer.
abstract TcpStatistics GetTcpIPv6Statistics()
Provides Transmission Control Protocol/Internet Protocol version 6 (TCP/IPv6) statistical data for th...
abstract string DhcpScopeName
Gets the Dynamic Host Configuration Protocol (DHCP) scope name.
Controls access to network information and traffic statistics for the local computer....
Represents an asynchronous operation that can return a value.
Definition: Task.cs:18
NetBiosNodeType
Specifies the Network Basic Input/Output System (NetBIOS) node type.