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
- VersionUtil.cs
- SpotLight.cs
- XomlCompilerParameters.cs
- PolyQuadraticBezierSegment.cs
- DataKey.cs
- HandlerBase.cs
- ProxyManager.cs
- NavigationPropertyAccessor.cs
- TextBoxDesigner.cs
- SqlNodeTypeOperators.cs
- TransportSecurityProtocolFactory.cs
- TextFormatter.cs
- ExceptionUtil.cs
- Base64WriteStateInfo.cs
- XPathNodeList.cs
- DragDrop.cs
- PropertyBuilder.cs
- XhtmlCssHandler.cs
- WorkflowInstanceProvider.cs
- TransformerInfo.cs
- NaturalLanguageHyphenator.cs
- SecurityKeyType.cs
- XPathAncestorIterator.cs
- DataGridViewColumnConverter.cs
- FormParameter.cs
- LogSwitch.cs
- EditorPartChrome.cs
- Schema.cs
- ComponentConverter.cs
- ApplicationCommands.cs
- SafeMemoryMappedViewHandle.cs
- TextTreeTextNode.cs
- FormViewInsertEventArgs.cs
- TdsParserStateObject.cs
- ListViewSortEventArgs.cs
- HeaderedItemsControl.cs
- ServiceHostingEnvironment.cs
- LinearKeyFrames.cs
- PageTheme.cs
- SerializationException.cs
- StringResourceManager.cs
- CollectionBuilder.cs
- WindowsFormsSynchronizationContext.cs
- Win32PrintDialog.cs
- Helper.cs
- PersonalizationStateInfoCollection.cs
- ThicknessAnimationBase.cs
- FormattedText.cs
- ObjectViewFactory.cs
- WindowsSolidBrush.cs
- LayoutEngine.cs
- TraceContextRecord.cs
- Evidence.cs
- ResourceReader.cs
- arabicshape.cs
- FastEncoder.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Perspective.cs
- _CommandStream.cs
- ServiceReflector.cs
- CustomPopupPlacement.cs
- ValidationErrorEventArgs.cs
- StringUtil.cs
- ResponseBodyWriter.cs
- TreeNodeConverter.cs
- PixelFormats.cs
- X509ThumbprintKeyIdentifierClause.cs
- FlowchartDesignerCommands.cs
- FormattedText.cs
- ProvidePropertyAttribute.cs
- IxmlLineInfo.cs
- TypeUsageBuilder.cs
- OptimalBreakSession.cs
- PropertyEmitter.cs
- HorizontalAlignConverter.cs
- LOSFormatter.cs
- CompressedStack.cs
- Run.cs
- TTSVoice.cs
- ServiceHttpHandlerFactory.cs
- FrugalList.cs
- Transform3DCollection.cs
- XmlHierarchicalEnumerable.cs
- TimeoutConverter.cs
- OutputCacheSettings.cs
- DbUpdateCommandTree.cs
- COM2ComponentEditor.cs
- WindowsSlider.cs
- AssemblyAttributes.cs
- FilterException.cs
- ErrorFormatterPage.cs
- XmlToDatasetMap.cs
- KnownTypesHelper.cs
- DataGridViewSelectedColumnCollection.cs
- ChannelTokenTypeConverter.cs
- XmlDocumentSerializer.cs
- CodeNamespaceImportCollection.cs
- FormViewModeEventArgs.cs
- RuleSet.cs
- WindowsProgressbar.cs