Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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(); } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConversionContext.cs
- Nodes.cs
- DeviceFiltersSection.cs
- DisableDpiAwarenessAttribute.cs
- ConcurrentBag.cs
- OleDbPropertySetGuid.cs
- ellipse.cs
- RelatedCurrencyManager.cs
- TimeZone.cs
- FormViewInsertEventArgs.cs
- ItemCollection.cs
- CustomAttributeFormatException.cs
- WindowsScrollBarBits.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- PublishLicense.cs
- SequenceFullException.cs
- FixedHyperLink.cs
- MissingFieldException.cs
- UserNamePasswordValidator.cs
- MexNamedPipeBindingCollectionElement.cs
- HandleScope.cs
- Socket.cs
- CharAnimationUsingKeyFrames.cs
- OrderingInfo.cs
- NodeInfo.cs
- DataTableCollection.cs
- ReverseInheritProperty.cs
- FileLevelControlBuilderAttribute.cs
- VoiceChangeEventArgs.cs
- PolicyException.cs
- ControlBindingsCollection.cs
- CharacterMetrics.cs
- Missing.cs
- NavigationFailedEventArgs.cs
- EncoderNLS.cs
- ImageListStreamer.cs
- Highlights.cs
- ELinqQueryState.cs
- RegionIterator.cs
- OutputCacheSettingsSection.cs
- CheckBoxStandardAdapter.cs
- TextEffect.cs
- WebPartTracker.cs
- UIElementPropertyUndoUnit.cs
- UnorderedHashRepartitionStream.cs
- Tile.cs
- ToolStripSettings.cs
- KeyValueConfigurationCollection.cs
- SerializeAbsoluteContext.cs
- XmlSchemaAppInfo.cs
- TextLineBreak.cs
- Char.cs
- StatusBarItemAutomationPeer.cs
- Camera.cs
- PageCodeDomTreeGenerator.cs
- OpenFileDialog.cs
- AdRotatorDesigner.cs
- FloaterBaseParagraph.cs
- PointValueSerializer.cs
- MediaPlayerState.cs
- StateMachineHelpers.cs
- ObjectDisposedException.cs
- CopyEncoder.cs
- DataGridPageChangedEventArgs.cs
- DelegatingTypeDescriptionProvider.cs
- XmlSchemaInfo.cs
- WorkflowFormatterBehavior.cs
- CreateCardRequest.cs
- SocketInformation.cs
- MorphHelpers.cs
- HtmlAnchor.cs
- SymbolEqualComparer.cs
- DoubleAnimation.cs
- TextModifierScope.cs
- SynchronizationFilter.cs
- Config.cs
- DrawListViewColumnHeaderEventArgs.cs
- DataGrid.cs
- WebPartEventArgs.cs
- EventTrigger.cs
- PanelStyle.cs
- FontWeight.cs
- WorkflowServiceInstance.cs
- WriteTimeStream.cs
- DataBoundControlAdapter.cs
- StringResourceManager.cs
- RightsManagementErrorHandler.cs
- StringWriter.cs
- ControlPersister.cs
- LockedAssemblyCache.cs
- bindurihelper.cs
- Paragraph.cs
- StoragePropertyMapping.cs
- ParallelActivityDesigner.cs
- RewritingPass.cs
- WsatConfiguration.cs
- DirectoryNotFoundException.cs
- IndependentAnimationStorage.cs
- XmlTextReader.cs
- CodeStatementCollection.cs