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
- TrackingValidationObjectDictionary.cs
- StructuredTypeEmitter.cs
- XhtmlStyleClass.cs
- RepeatEnumerable.cs
- BamlStream.cs
- EdmProperty.cs
- DocumentEventArgs.cs
- AppliedDeviceFiltersDialog.cs
- InProcStateClientManager.cs
- TransformFinalBlockRequest.cs
- InternalTypeHelper.cs
- StrongNameUtility.cs
- BufferModesCollection.cs
- OdbcConnection.cs
- _HTTPDateParse.cs
- EnumValidator.cs
- DataControlField.cs
- ParallelLoopState.cs
- __TransparentProxy.cs
- XmlSchemaAny.cs
- StylusDevice.cs
- DataSetUtil.cs
- HexParser.cs
- InProcStateClientManager.cs
- SQLMoneyStorage.cs
- __TransparentProxy.cs
- DbProviderManifest.cs
- PasswordRecoveryDesigner.cs
- PropertyTab.cs
- XmlJsonReader.cs
- RadioButtonFlatAdapter.cs
- DetailsViewUpdatedEventArgs.cs
- SQLChars.cs
- DataSourceExpression.cs
- MenuBase.cs
- GiveFeedbackEventArgs.cs
- AuthenticationService.cs
- XmlAttributeCollection.cs
- RangeValidator.cs
- BookmarkManager.cs
- DeviceSpecificChoiceCollection.cs
- SoapSchemaMember.cs
- XmlWrappingReader.cs
- SendKeys.cs
- XmlSchemaSimpleTypeList.cs
- DefaultTraceListener.cs
- ForceCopyBuildProvider.cs
- BoundColumn.cs
- PointValueSerializer.cs
- PreviewPrintController.cs
- NotSupportedException.cs
- XmlCharCheckingWriter.cs
- FixedTextView.cs
- XmlIgnoreAttribute.cs
- PropertyPushdownHelper.cs
- StatusStrip.cs
- SizeConverter.cs
- MatrixKeyFrameCollection.cs
- VirtualizedCellInfoCollection.cs
- AccessibleObject.cs
- _NativeSSPI.cs
- AlternateView.cs
- MenuStrip.cs
- GenericAuthenticationEventArgs.cs
- ExtendLockCommand.cs
- StatementContext.cs
- HttpRawResponse.cs
- DataGridParentRows.cs
- UndoUnit.cs
- Site.cs
- RectConverter.cs
- PeerChannelFactory.cs
- WebPartEditorApplyVerb.cs
- Monitor.cs
- SendActivityValidator.cs
- GridViewRow.cs
- WarningException.cs
- ComponentGlyph.cs
- ConfigurationStrings.cs
- EdmConstants.cs
- ValuePattern.cs
- TableItemPatternIdentifiers.cs
- XmlSchemas.cs
- followingquery.cs
- Normalization.cs
- BindUriHelper.cs
- ResourceKey.cs
- AutoScrollExpandMessageFilter.cs
- PlainXmlWriter.cs
- MenuCommand.cs
- ObjectItemCollection.cs
- cryptoapiTransform.cs
- AccessorTable.cs
- EngineSite.cs
- ConstructorNeedsTagAttribute.cs
- QilBinary.cs
- BoundPropertyEntry.cs
- XmlSchemas.cs
- StringReader.cs
- SecuritySessionServerSettings.cs