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
- MenuItemCollection.cs
- GetLastErrorDetailsRequest.cs
- ProxyManager.cs
- WinFormsComponentEditor.cs
- TextTreeText.cs
- ApplicationDirectory.cs
- ContentPropertyAttribute.cs
- FunctionQuery.cs
- HtmlInputFile.cs
- SqlDataSourceFilteringEventArgs.cs
- SQLDoubleStorage.cs
- X509SubjectKeyIdentifierClause.cs
- UIElementPropertyUndoUnit.cs
- TagPrefixInfo.cs
- StdValidatorsAndConverters.cs
- ExtenderProvidedPropertyAttribute.cs
- Calendar.cs
- FormViewPagerRow.cs
- ParenthesizePropertyNameAttribute.cs
- UIElementParagraph.cs
- ConfigPathUtility.cs
- UDPClient.cs
- Peer.cs
- ControlEvent.cs
- CapiSafeHandles.cs
- DataGridGeneralPage.cs
- ChangeDirector.cs
- VirtualizedCellInfoCollection.cs
- coordinatorscratchpad.cs
- SizeAnimationBase.cs
- dataSvcMapFileLoader.cs
- CompoundFileReference.cs
- BufferBuilder.cs
- Style.cs
- FixedSOMFixedBlock.cs
- RuleProcessor.cs
- AdapterDictionary.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- ReflectTypeDescriptionProvider.cs
- LocatorPart.cs
- HttpResponseWrapper.cs
- Sql8ExpressionRewriter.cs
- CalendarDay.cs
- DataTableReader.cs
- DrawingGroup.cs
- WaitHandleCannotBeOpenedException.cs
- OperandQuery.cs
- CodeConditionStatement.cs
- DataGridComboBoxColumn.cs
- FactoryMaker.cs
- WebPartEditVerb.cs
- Error.cs
- String.cs
- BaseCollection.cs
- DotExpr.cs
- VarRemapper.cs
- Error.cs
- CompareValidator.cs
- ObjectConverter.cs
- SQLConvert.cs
- EdmSchemaError.cs
- ReferenceSchema.cs
- Policy.cs
- ControlBindingsCollection.cs
- CompareValidator.cs
- PropertyToken.cs
- BitmapData.cs
- PartialList.cs
- SmiMetaDataProperty.cs
- XmlArrayItemAttributes.cs
- EnvironmentPermission.cs
- PagesSection.cs
- ErasingStroke.cs
- XmlCharCheckingWriter.cs
- XmlILAnnotation.cs
- CardSpacePolicyElement.cs
- MemoryStream.cs
- TextSpan.cs
- GridViewColumnCollection.cs
- ServiceHttpModule.cs
- PolyBezierSegment.cs
- TripleDES.cs
- HyperLinkField.cs
- CompiledQuery.cs
- MsmqInputChannelBase.cs
- FrameworkContentElement.cs
- InstallerTypeAttribute.cs
- UnsafeNativeMethods.cs
- TextEndOfLine.cs
- XPathNodePointer.cs
- ByteStreamMessageEncoderFactory.cs
- DXD.cs
- XmlIgnoreAttribute.cs
- MailMessageEventArgs.cs
- Selection.cs
- NetworkInformationPermission.cs
- InputProcessorProfiles.cs
- CodeTypeMember.cs
- Geometry.cs
- DateTime.cs