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
- InvokeAction.cs
- ResXDataNode.cs
- GlyphingCache.cs
- UniqueSet.cs
- NativeMethods.cs
- ReadOnlyDataSource.cs
- CodeSpit.cs
- SqlClientWrapperSmiStream.cs
- AlternateView.cs
- XmlElementAttributes.cs
- Selection.cs
- BitmapEffectRenderDataResource.cs
- ContainerCodeDomSerializer.cs
- ResizeGrip.cs
- _SecureChannel.cs
- TransactionManager.cs
- LinqDataSourceView.cs
- BatchWriter.cs
- OdbcStatementHandle.cs
- TripleDESCryptoServiceProvider.cs
- DbParameterCollectionHelper.cs
- StylusDevice.cs
- Odbc32.cs
- ConfigurationManagerHelperFactory.cs
- CqlQuery.cs
- ExceptionUtility.cs
- wmiutil.cs
- WebPartAuthorizationEventArgs.cs
- ListView.cs
- ConfigurationPropertyCollection.cs
- ValueQuery.cs
- CanonicalFontFamilyReference.cs
- SafeRegistryHandle.cs
- AdjustableArrowCap.cs
- QilTypeChecker.cs
- CreateUserWizardDesigner.cs
- HttpStreams.cs
- XmlObjectSerializerReadContextComplexJson.cs
- WebExceptionStatus.cs
- StringConverter.cs
- SubtreeProcessor.cs
- PointHitTestParameters.cs
- BaseEntityWrapper.cs
- CaseInsensitiveHashCodeProvider.cs
- SqlErrorCollection.cs
- CatalogPart.cs
- HyperLinkField.cs
- ProcessModule.cs
- ButtonAutomationPeer.cs
- OdbcDataReader.cs
- webclient.cs
- WebPartUserCapability.cs
- FileStream.cs
- WinEventQueueItem.cs
- MachineSettingsSection.cs
- KeyEvent.cs
- ExpandCollapseProviderWrapper.cs
- CompiledQuery.cs
- BooleanFunctions.cs
- DataGridCellItemAutomationPeer.cs
- PoisonMessageException.cs
- TextBlock.cs
- CacheEntry.cs
- TaiwanCalendar.cs
- DataGridViewColumnHeaderCell.cs
- DataRowExtensions.cs
- DynamicQueryableWrapper.cs
- OpenTypeLayout.cs
- RegistrationServices.cs
- XmlDictionaryWriter.cs
- StyleCollectionEditor.cs
- RichTextBoxAutomationPeer.cs
- _Semaphore.cs
- DataObjectAttribute.cs
- EdmComplexTypeAttribute.cs
- SettingsBase.cs
- UserPersonalizationStateInfo.cs
- SynchronizedInputPattern.cs
- TextParaClient.cs
- FragmentQueryKB.cs
- JapaneseLunisolarCalendar.cs
- SqlRetyper.cs
- Size3D.cs
- OracleMonthSpan.cs
- EntityDataSourceSelectedEventArgs.cs
- ITreeGenerator.cs
- AutoGeneratedFieldProperties.cs
- WebPartMovingEventArgs.cs
- PersonalizationEntry.cs
- FixedDocument.cs
- XmlChildEnumerator.cs
- BooleanFunctions.cs
- StateItem.cs
- TraceEventCache.cs
- StateValidator.cs
- ViewValidator.cs
- SingleAnimationBase.cs
- NumericUpDownAccelerationCollection.cs
- TemplateControlParser.cs
- HandledEventArgs.cs