Code:
/ FX-1434 / FX-1434 / 1.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
- ConfigurationSchemaErrors.cs
- Repeater.cs
- Rectangle.cs
- OleDbCommandBuilder.cs
- ServiceOperationParameter.cs
- LayoutSettings.cs
- SqlEnums.cs
- PathBox.cs
- Decimal.cs
- iisPickupDirectory.cs
- BuildProvidersCompiler.cs
- SessionStateModule.cs
- PeerApplicationLaunchInfo.cs
- ProxyFragment.cs
- FileUpload.cs
- XPathAncestorIterator.cs
- TreeNodeEventArgs.cs
- AsyncStreamReader.cs
- HttpListener.cs
- WinInet.cs
- ComNativeDescriptor.cs
- MimeWriter.cs
- HttpListenerPrefixCollection.cs
- GridViewRow.cs
- TypeToken.cs
- MarkupWriter.cs
- TimeManager.cs
- SafeCloseHandleCritical.cs
- TreeBuilderXamlTranslator.cs
- DynamicDiscoveryDocument.cs
- TypeConverterAttribute.cs
- Int16KeyFrameCollection.cs
- ConnectionConsumerAttribute.cs
- objectresult_tresulttype.cs
- addressfiltermode.cs
- MultiAsyncResult.cs
- Attributes.cs
- SetMemberBinder.cs
- ConfigXmlDocument.cs
- ProjectedWrapper.cs
- ExpressionConverter.cs
- TagMapInfo.cs
- IndicShape.cs
- PrintingPermissionAttribute.cs
- InlinedAggregationOperatorEnumerator.cs
- Tuple.cs
- LateBoundBitmapDecoder.cs
- WebPartEditVerb.cs
- NotImplementedException.cs
- UnaryNode.cs
- TransformerTypeCollection.cs
- OdbcCommandBuilder.cs
- RequestCache.cs
- PrintPreviewGraphics.cs
- XmlNodeComparer.cs
- CompositionCommandSet.cs
- ComponentResourceKey.cs
- WebConfigurationFileMap.cs
- ParserStreamGeometryContext.cs
- HtmlInputHidden.cs
- TextRangeEdit.cs
- Operand.cs
- VectorCollectionValueSerializer.cs
- PreservationFileReader.cs
- XmlSchemaImport.cs
- DataTableClearEvent.cs
- BitmapEffectRenderDataResource.cs
- SectionVisual.cs
- ControlAdapter.cs
- complextypematerializer.cs
- Style.cs
- HandlerBase.cs
- MdiWindowListItemConverter.cs
- StaticExtension.cs
- SQLBinary.cs
- HierarchicalDataBoundControl.cs
- HttpResponseBase.cs
- InfoCardSymmetricCrypto.cs
- XPathNodeIterator.cs
- ISFTagAndGuidCache.cs
- TargetControlTypeCache.cs
- FilterableAttribute.cs
- PenThreadPool.cs
- WebPartMenuStyle.cs
- ContextMenuAutomationPeer.cs
- GridViewColumnHeader.cs
- SecurityState.cs
- SQLChars.cs
- FormViewPagerRow.cs
- SerializationSectionGroup.cs
- ObjRef.cs
- MobileUserControlDesigner.cs
- StringFunctions.cs
- SystemSounds.cs
- XmlSerializer.cs
- RootBrowserWindow.cs
- SafeNativeMethods.cs
- ReplyChannelBinder.cs
- EndpointDiscoveryMetadata11.cs
- FormClosedEvent.cs