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
- AssertSection.cs
- CommandLibraryHelper.cs
- BoundField.cs
- HScrollBar.cs
- Perspective.cs
- ThreadAbortException.cs
- FieldNameLookup.cs
- AssemblyResourceLoader.cs
- NameObjectCollectionBase.cs
- ResetableIterator.cs
- CodeCommentStatement.cs
- SmtpFailedRecipientException.cs
- DetailsViewRow.cs
- LinqDataSourceValidationException.cs
- KeyValueInternalCollection.cs
- EpmContentDeSerializer.cs
- CodeArrayIndexerExpression.cs
- ReturnType.cs
- ProxyWebPart.cs
- Cursors.cs
- LogLogRecordEnumerator.cs
- TransformGroup.cs
- NavigationPropertyEmitter.cs
- OdbcParameterCollection.cs
- IntPtr.cs
- ServicePoint.cs
- DataSourceHelper.cs
- QilFunction.cs
- TdsParser.cs
- WebServiceErrorEvent.cs
- SupportingTokenAuthenticatorSpecification.cs
- NameSpaceExtractor.cs
- TextEndOfLine.cs
- BitmapEffectInput.cs
- RenameRuleObjectDialog.Designer.cs
- UpdateCommandGenerator.cs
- HybridObjectCache.cs
- AddInActivator.cs
- COM2IPerPropertyBrowsingHandler.cs
- GridViewPageEventArgs.cs
- Constants.cs
- FullTextBreakpoint.cs
- AnnouncementEndpointElement.cs
- EarlyBoundInfo.cs
- TemplateBaseAction.cs
- StaticFileHandler.cs
- SqlInfoMessageEvent.cs
- _NetRes.cs
- OleCmdHelper.cs
- ColumnHeader.cs
- IImplicitResourceProvider.cs
- FileDialog_Vista_Interop.cs
- SpellerStatusTable.cs
- EventPropertyMap.cs
- TypeResolver.cs
- TreeBuilderBamlTranslator.cs
- MgmtConfigurationRecord.cs
- FastPropertyAccessor.cs
- IndexedString.cs
- UnicastIPAddressInformationCollection.cs
- CompilationLock.cs
- ClientTargetCollection.cs
- ADRoleFactoryConfiguration.cs
- ApplicationContext.cs
- ConfigXmlElement.cs
- BamlStream.cs
- SkipStoryboardToFill.cs
- MultiPartWriter.cs
- HebrewCalendar.cs
- ControlBindingsCollection.cs
- UndirectedGraph.cs
- NativeMethods.cs
- WindowsIPAddress.cs
- COM2FontConverter.cs
- _UriSyntax.cs
- __ConsoleStream.cs
- SQLStringStorage.cs
- WebServiceAttribute.cs
- SignedPkcs7.cs
- TempFiles.cs
- ConfigXmlText.cs
- CodeDomExtensionMethods.cs
- MouseButton.cs
- ListControlBoundActionList.cs
- DataFieldCollectionEditor.cs
- OperationCanceledException.cs
- InternalPermissions.cs
- LayeredChannelListener.cs
- OrderPreservingMergeHelper.cs
- BindingSource.cs
- WindowsSysHeader.cs
- MetadataSource.cs
- RegisteredScript.cs
- DebugHandleTracker.cs
- AnnotationAuthorChangedEventArgs.cs
- TextBlockAutomationPeer.cs
- SmtpNtlmAuthenticationModule.cs
- DetailsViewActionList.cs
- ObjectNotFoundException.cs
- OdbcTransaction.cs