Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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(); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. 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(); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ComPlusDiagnosticTraceSchemas.cs
- LoginName.cs
- RuntimeHandles.cs
- ConfigurationLocationCollection.cs
- FileDialogCustomPlacesCollection.cs
- ControlParameter.cs
- PlanCompilerUtil.cs
- CommandPlan.cs
- RawStylusActions.cs
- BindingOperations.cs
- XmlDownloadManager.cs
- FieldToken.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- WebFaultClientMessageInspector.cs
- ExpressionEditorAttribute.cs
- HashHelper.cs
- ParameterToken.cs
- ChangeProcessor.cs
- UseLicense.cs
- SerializationSectionGroup.cs
- ListItemCollection.cs
- ThemeDictionaryExtension.cs
- CSharpCodeProvider.cs
- CodeEntryPointMethod.cs
- TextBoxDesigner.cs
- ProcessModelSection.cs
- TextTreeNode.cs
- KeyEvent.cs
- DataRecord.cs
- MobileFormsAuthentication.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- DataGridViewRowHeaderCell.cs
- IssuanceLicense.cs
- InvalidAsynchronousStateException.cs
- JumpPath.cs
- FamilyMapCollection.cs
- AsyncSerializedWorker.cs
- UpdatePanelControlTrigger.cs
- ProviderSettings.cs
- RegionIterator.cs
- Rule.cs
- KeyValuePairs.cs
- OleDbParameterCollection.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Char.cs
- EventSinkHelperWriter.cs
- AuthenticationService.cs
- DataRelation.cs
- HWStack.cs
- XmlAttributeProperties.cs
- BamlTreeNode.cs
- CodeSnippetTypeMember.cs
- TagMapCollection.cs
- TryLoadRunnableWorkflowCommand.cs
- ComponentChangedEvent.cs
- ComplexTypeEmitter.cs
- NativeMethods.cs
- TextElementEditingBehaviorAttribute.cs
- DeflateStream.cs
- RowToFieldTransformer.cs
- DesignerDataTableBase.cs
- MessageQueueTransaction.cs
- LayoutDump.cs
- ConfigXmlComment.cs
- NativeRightsManagementAPIsStructures.cs
- XmlAttributeCache.cs
- ReadOnlyKeyedCollection.cs
- TokenizerHelper.cs
- GetIsBrowserClientRequest.cs
- DoubleAnimationUsingPath.cs
- ApplicationContext.cs
- RegexParser.cs
- PersianCalendar.cs
- IsolatedStorageFile.cs
- StreamDocument.cs
- XmlSerializerAssemblyAttribute.cs
- FileDialog.cs
- XmlAttributes.cs
- Flowchart.cs
- AuthenticateEventArgs.cs
- TransformerConfigurationWizardBase.cs
- XmlSiteMapProvider.cs
- ErrorTableItemStyle.cs
- _FtpControlStream.cs
- FixedPage.cs
- EventNotify.cs
- ConvertersCollection.cs
- XmlSortKey.cs
- DisplayInformation.cs
- Comparer.cs
- TreePrinter.cs
- ByteConverter.cs
- GeneralTransformCollection.cs
- ContextStaticAttribute.cs
- MyContact.cs
- WinEventTracker.cs
- FrameSecurityDescriptor.cs
- HealthMonitoringSection.cs
- WebPartRestoreVerb.cs
- ConfigurationElement.cs