Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DecodeHelper.cs
- VisualBasic.cs
- ElementHost.cs
- OutputCacheEntry.cs
- Vector3DAnimation.cs
- Pair.cs
- SafeTimerHandle.cs
- ResourceCategoryAttribute.cs
- Publisher.cs
- UIntPtr.cs
- AppDomain.cs
- CanonicalXml.cs
- IgnoreFlushAndCloseStream.cs
- XmlSchemaDatatype.cs
- ReflectTypeDescriptionProvider.cs
- Separator.cs
- ping.cs
- PersonalizationStateQuery.cs
- ErrorHandler.cs
- NegotiationTokenAuthenticator.cs
- PointValueSerializer.cs
- DataErrorValidationRule.cs
- XmlNodeComparer.cs
- ApplicationFileParser.cs
- EdmComplexPropertyAttribute.cs
- PropertyOrder.cs
- XamlPoint3DCollectionSerializer.cs
- NotifyCollectionChangedEventArgs.cs
- CallContext.cs
- MetaTable.cs
- OnOperation.cs
- ByteStack.cs
- TextServicesDisplayAttributePropertyRanges.cs
- UnionCodeGroup.cs
- WizardStepBase.cs
- ScalarRestriction.cs
- Vector.cs
- TextRangeAdaptor.cs
- SafeFileMappingHandle.cs
- DataGridCell.cs
- _FtpControlStream.cs
- HtmlInputSubmit.cs
- HyperlinkAutomationPeer.cs
- UnaryQueryOperator.cs
- LinkButton.cs
- OperatorExpressions.cs
- TableRow.cs
- DataGridCellAutomationPeer.cs
- LateBoundBitmapDecoder.cs
- RenderingEventArgs.cs
- DeleteBookmarkScope.cs
- QueryValue.cs
- OutputWindow.cs
- ProcessModule.cs
- FixedDocumentPaginator.cs
- DefaultBinder.cs
- TextControl.cs
- PolyBezierSegment.cs
- WhereQueryOperator.cs
- CopyNodeSetAction.cs
- DictionaryManager.cs
- Thread.cs
- JsonEncodingStreamWrapper.cs
- PropertyDescriptorGridEntry.cs
- ProfileProvider.cs
- DBDataPermission.cs
- MarkupExtensionParser.cs
- DependencyProperty.cs
- TransportationConfigurationTypeInstallComponent.cs
- SafeRightsManagementEnvironmentHandle.cs
- SettingsAttributes.cs
- UserControl.cs
- TypeTypeConverter.cs
- CharEnumerator.cs
- XmlSerializationWriter.cs
- MsmqInputSessionChannel.cs
- CategoryGridEntry.cs
- DataBinder.cs
- CustomLineCap.cs
- XmlnsDictionary.cs
- UpdateCommand.cs
- DocobjHost.cs
- SafeHGlobalHandleCritical.cs
- CriticalFinalizerObject.cs
- GridPatternIdentifiers.cs
- AnnotationAdorner.cs
- XmlEventCache.cs
- BooleanAnimationBase.cs
- IntSecurity.cs
- ActivationWorker.cs
- PropertyManager.cs
- Geometry3D.cs
- TraceUtility.cs
- RoleManagerSection.cs
- Timer.cs
- WebServiceFault.cs
- SQLStringStorage.cs
- SessionIDManager.cs
- TitleStyle.cs
- DataGridLengthConverter.cs