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
- TextLineResult.cs
- ElementUtil.cs
- WebBrowserSiteBase.cs
- BitmapInitialize.cs
- CustomCategoryAttribute.cs
- FloatUtil.cs
- BinaryUtilClasses.cs
- ApplicationSecurityManager.cs
- ModelFunctionTypeElement.cs
- ComponentDispatcherThread.cs
- Trace.cs
- FrameDimension.cs
- OleDbWrapper.cs
- InputBinding.cs
- OverrideMode.cs
- SpecularMaterial.cs
- TraceXPathNavigator.cs
- ScriptHandlerFactory.cs
- ArgumentValue.cs
- CodeNamespaceImportCollection.cs
- ShaderEffect.cs
- PolicyLevel.cs
- AccessDataSource.cs
- bidPrivateBase.cs
- Int64Animation.cs
- DataControlFieldsEditor.cs
- FunctionCommandText.cs
- RowSpanVector.cs
- DrawingAttributesDefaultValueFactory.cs
- Membership.cs
- SchemaMerger.cs
- Vertex.cs
- SecurityTokenResolver.cs
- FileDialogCustomPlace.cs
- Vector3DAnimationBase.cs
- RC2.cs
- WebPart.cs
- TextSpanModifier.cs
- QueryGeneratorBase.cs
- EntityCommand.cs
- XmlWriterSettings.cs
- KeyFrames.cs
- IndicCharClassifier.cs
- URLBuilder.cs
- SelectionEditor.cs
- ProcessProtocolHandler.cs
- _OSSOCK.cs
- BinaryFormatter.cs
- TrustLevelCollection.cs
- SafeBitVector32.cs
- Win32SafeHandles.cs
- Trigger.cs
- TableRowGroupCollection.cs
- ZipIORawDataFileBlock.cs
- SqlStream.cs
- SqlGatherConsumedAliases.cs
- QuaternionKeyFrameCollection.cs
- ServiceContractGenerator.cs
- MasterPageCodeDomTreeGenerator.cs
- LinearGradientBrush.cs
- InternalTypeHelper.cs
- Icon.cs
- Message.cs
- MsmqIntegrationProcessProtocolHandler.cs
- GetImportedCardRequest.cs
- TypefaceCollection.cs
- SuppressIldasmAttribute.cs
- DataGridColumn.cs
- BlobPersonalizationState.cs
- QilName.cs
- HostedElements.cs
- grammarelement.cs
- BindValidator.cs
- HttpResponseHeader.cs
- Win32Interop.cs
- BindingObserver.cs
- SizeLimitedCache.cs
- WorkflowApplicationException.cs
- BufferBuilder.cs
- MSAANativeProvider.cs
- RenderTargetBitmap.cs
- ActivatedMessageQueue.cs
- ParserHooks.cs
- XmlSerializableWriter.cs
- ServiceModelPerformanceCounters.cs
- LinkedResourceCollection.cs
- FontSourceCollection.cs
- ParameterModifier.cs
- DataGridCaption.cs
- DateTimeFormat.cs
- RequestQueryParser.cs
- XmlTextReaderImplHelpers.cs
- _OSSOCK.cs
- LinkedResourceCollection.cs
- DataComponentMethodGenerator.cs
- Repeater.cs
- DataSourceCache.cs
- SocketInformation.cs
- RowsCopiedEventArgs.cs
- NativeMethodsCLR.cs