Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / NetworkInformation / IPGlobalProperties.cs / 1 / IPGlobalProperties.cs
using System; using System.Net.Sockets; using System.Net; namespace System.Net.NetworkInformation { public abstract class IPGlobalProperties { public static IPGlobalProperties GetIPGlobalProperties(){ (new NetworkInformationPermission(NetworkInformationAccess.Read)).Demand(); return new SystemIPGlobalProperties(); } internal static IPGlobalProperties InternalGetIPGlobalProperties() { return new SystemIPGlobalProperties(); } /// Gets the Active Udp Listeners on this machine public abstract IPEndPoint[] GetActiveUdpListeners(); /// Gets the Active Tcp Listeners on this machine public abstract IPEndPoint[] GetActiveTcpListeners (); /// Gets the Active Udp Listeners on this machine public abstract TcpConnectionInformation[] GetActiveTcpConnections(); /// Gets the Dynamic Host Configuration Protocol (DHCP) scope name. public abstract string DhcpScopeName {get;} /// Gets the domain in which the local computer is registered. public abstract string DomainName {get;} /// Gets the host name for the local computer. public abstract string HostName {get;} /// Gets a bool value that specifies whether the local computer is acting as a Windows Internet Name Service (WINS) proxy. public abstract bool IsWinsProxy {get;} /// Gets the Network Basic Input/Output System (NetBIOS) node type of the local computer. public abstract NetBiosNodeType NodeType{get;} public abstract TcpStatistics GetTcpIPv4Statistics(); public abstract TcpStatistics GetTcpIPv6Statistics(); /// Provides Internet Control Message Protocol (ICMP) version 4 statistical data for the local computer. /// Provides User Datagram Protocol (UDP) statistical data for the local computer. public abstract UdpStatistics GetUdpIPv4Statistics(); public abstract UdpStatistics GetUdpIPv6Statistics(); /// Provides Internet Control Message Protocol (ICMP) version 4 statistical data for the local computer. public abstract IcmpV4Statistics GetIcmpV4Statistics(); /// Provides Internet Control Message Protocol (ICMP) version 6 statistical data for the local computer. public abstract IcmpV6Statistics GetIcmpV6Statistics(); /// Provides Internet Protocol (IP) statistical data for the local computer. public abstract IPGlobalStatistics GetIPv4GlobalStatistics(); public abstract IPGlobalStatistics GetIPv6GlobalStatistics(); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Net.Sockets; using System.Net; namespace System.Net.NetworkInformation { public abstract class IPGlobalProperties { public static IPGlobalProperties GetIPGlobalProperties(){ (new NetworkInformationPermission(NetworkInformationAccess.Read)).Demand(); return new SystemIPGlobalProperties(); } internal static IPGlobalProperties InternalGetIPGlobalProperties() { return new SystemIPGlobalProperties(); } /// Gets the Active Udp Listeners on this machine public abstract IPEndPoint[] GetActiveUdpListeners(); /// Gets the Active Tcp Listeners on this machine public abstract IPEndPoint[] GetActiveTcpListeners (); /// Gets the Active Udp Listeners on this machine public abstract TcpConnectionInformation[] GetActiveTcpConnections(); /// Gets the Dynamic Host Configuration Protocol (DHCP) scope name. public abstract string DhcpScopeName {get;} /// Gets the domain in which the local computer is registered. public abstract string DomainName {get;} /// Gets the host name for the local computer. public abstract string HostName {get;} /// Gets a bool value that specifies whether the local computer is acting as a Windows Internet Name Service (WINS) proxy. public abstract bool IsWinsProxy {get;} /// Gets the Network Basic Input/Output System (NetBIOS) node type of the local computer. public abstract NetBiosNodeType NodeType{get;} public abstract TcpStatistics GetTcpIPv4Statistics(); public abstract TcpStatistics GetTcpIPv6Statistics(); /// Provides Internet Control Message Protocol (ICMP) version 4 statistical data for the local computer. /// Provides User Datagram Protocol (UDP) statistical data for the local computer. public abstract UdpStatistics GetUdpIPv4Statistics(); public abstract UdpStatistics GetUdpIPv6Statistics(); /// Provides Internet Control Message Protocol (ICMP) version 4 statistical data for the local computer. public abstract IcmpV4Statistics GetIcmpV4Statistics(); /// Provides Internet Control Message Protocol (ICMP) version 6 statistical data for the local computer. public abstract IcmpV6Statistics GetIcmpV6Statistics(); /// Provides Internet Protocol (IP) statistical data for the local computer. public abstract IPGlobalStatistics GetIPv4GlobalStatistics(); public abstract IPGlobalStatistics GetIPv6GlobalStatistics(); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MobileErrorInfo.cs
- KeyValuePair.cs
- DataGridViewRowsAddedEventArgs.cs
- ProtectedConfiguration.cs
- FieldBuilder.cs
- ErasingStroke.cs
- TransformCollection.cs
- CodeNamespaceCollection.cs
- ModelItemExtensions.cs
- XmlDocument.cs
- latinshape.cs
- TypeDelegator.cs
- LinearGradientBrush.cs
- CombinedGeometry.cs
- CustomValidator.cs
- VisualStateChangedEventArgs.cs
- Misc.cs
- AutoSizeComboBox.cs
- ListBindableAttribute.cs
- XamlStream.cs
- FloatUtil.cs
- SpeakInfo.cs
- CheckableControlBaseAdapter.cs
- PrintDialog.cs
- IgnorePropertiesAttribute.cs
- CompareValidator.cs
- SizeKeyFrameCollection.cs
- Button.cs
- ListView.cs
- HybridCollection.cs
- CatalogPartCollection.cs
- DrawingContextWalker.cs
- ModuleElement.cs
- RegexCharClass.cs
- CannotUnloadAppDomainException.cs
- FixedSOMContainer.cs
- CallbackDebugElement.cs
- ProviderManager.cs
- ScriptResourceAttribute.cs
- Options.cs
- ReadOnlyPermissionSet.cs
- Win32PrintDialog.cs
- DataColumnMapping.cs
- Underline.cs
- BufferBuilder.cs
- SqlPersonalizationProvider.cs
- SqlDataSourceCommandEventArgs.cs
- SoapCodeExporter.cs
- ButtonDesigner.cs
- Operand.cs
- DebugView.cs
- ObjectPersistData.cs
- PackageRelationshipSelector.cs
- oledbconnectionstring.cs
- SoapBinding.cs
- Camera.cs
- SqlXmlStorage.cs
- PinnedBufferMemoryStream.cs
- _DigestClient.cs
- TrackingServices.cs
- CompareValidator.cs
- Models.cs
- GeneralTransform3D.cs
- EncodingStreamWrapper.cs
- OSFeature.cs
- PageParser.cs
- RuntimeConfigurationRecord.cs
- ProfileSettingsCollection.cs
- storepermissionattribute.cs
- Transform.cs
- Visual3DCollection.cs
- XmlMtomWriter.cs
- OnOperation.cs
- CriticalHandle.cs
- ADMembershipUser.cs
- SafeNativeMethods.cs
- RowVisual.cs
- WbmpConverter.cs
- ObjectView.cs
- CollectionEditor.cs
- CodeObject.cs
- FixedDocument.cs
- DataControlButton.cs
- DivideByZeroException.cs
- DataRecordInternal.cs
- DocumentReferenceCollection.cs
- XmlSerializer.cs
- CheckPair.cs
- RenderCapability.cs
- IndexedWhereQueryOperator.cs
- _BufferOffsetSize.cs
- SwitchCase.cs
- WebContext.cs
- SingleBodyParameterMessageFormatter.cs
- CreationContext.cs
- WorkflowInstanceExtensionCollection.cs
- DataBindEngine.cs
- ExtendedPropertyDescriptor.cs
- EntityDataSourceSelectedEventArgs.cs
- Events.cs