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
- PriorityRange.cs
- UserControlCodeDomTreeGenerator.cs
- GenericsInstances.cs
- ProxyAttribute.cs
- TextCollapsingProperties.cs
- COAUTHIDENTITY.cs
- FlagsAttribute.cs
- Wildcard.cs
- ListChangedEventArgs.cs
- TextEditorParagraphs.cs
- IteratorFilter.cs
- DelegateSerializationHolder.cs
- CellTreeNodeVisitors.cs
- HitTestParameters3D.cs
- XmlWriter.cs
- WebPartDescription.cs
- FromReply.cs
- CodeExporter.cs
- AspNetCacheProfileAttribute.cs
- MailBnfHelper.cs
- InplaceBitmapMetadataWriter.cs
- RegistrySecurity.cs
- ICspAsymmetricAlgorithm.cs
- SerializationSectionGroup.cs
- CompiledQuery.cs
- DataGridViewButtonCell.cs
- WindowsListViewItemCheckBox.cs
- AnnotationAuthorChangedEventArgs.cs
- __Filters.cs
- TextBlockAutomationPeer.cs
- EdmFunction.cs
- FileFormatException.cs
- NotImplementedException.cs
- ButtonAutomationPeer.cs
- Converter.cs
- ComPlusTraceRecord.cs
- OneWayBindingElementImporter.cs
- ProtectedConfigurationProviderCollection.cs
- DataGridRowClipboardEventArgs.cs
- Int32CAMarshaler.cs
- GridViewRowPresenter.cs
- CompareValidator.cs
- TcpPortSharing.cs
- CurrencyManager.cs
- Transform3D.cs
- LockRenewalTask.cs
- XmlException.cs
- ToolTipAutomationPeer.cs
- TextRangeEditLists.cs
- SpeechEvent.cs
- RootCodeDomSerializer.cs
- KeyTimeConverter.cs
- ContextInformation.cs
- StackSpiller.Generated.cs
- ProfileServiceManager.cs
- FormClosingEvent.cs
- ApplicationSecurityManager.cs
- NopReturnReader.cs
- MessagePropertyFilter.cs
- EdmError.cs
- RuleSetBrowserDialog.cs
- RequiredFieldValidator.cs
- BmpBitmapEncoder.cs
- Group.cs
- ImportOptions.cs
- HttpListenerResponse.cs
- AliasGenerator.cs
- DetailsViewInsertedEventArgs.cs
- WsatServiceAddress.cs
- XmlDataImplementation.cs
- BaseResourcesBuildProvider.cs
- RegexStringValidator.cs
- GraphicsPathIterator.cs
- bidPrivateBase.cs
- CursorConverter.cs
- ComponentSerializationService.cs
- HtmlInputText.cs
- ObservableCollection.cs
- Nullable.cs
- ETagAttribute.cs
- ViewStateModeByIdAttribute.cs
- UncommonField.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- TransformDescriptor.cs
- Type.cs
- ConstraintStruct.cs
- DbConnectionPoolGroup.cs
- XpsPackagingPolicy.cs
- HTMLTagNameToTypeMapper.cs
- CoTaskMemSafeHandle.cs
- SiteMapNodeCollection.cs
- SmtpSection.cs
- _SingleItemRequestCache.cs
- namescope.cs
- GridPattern.cs
- ContextMenuStrip.cs
- PolyLineSegment.cs
- CharacterMetrics.cs
- RoutedEventValueSerializer.cs
- PathTooLongException.cs