Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1 / SystemIPv6InterfaceProperties.cs
////// namespace System.Net.NetworkInformation { using System.Net; using System.Net.Sockets; using System; using System.Runtime.InteropServices; using System.Collections; using System.ComponentModel; using System.Security.Permissions; using Microsoft.Win32; internal class SystemIPv6InterfaceProperties:IPv6InterfaceProperties{ uint index = 0; uint mtu = 0; internal SystemIPv6InterfaceProperties(uint index, uint mtu) { this.index = index; this.mtu = mtu; } /// /// Provides support for ip configuation information and statistics. /// Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Index{ get { return (int)index; } } ///Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Mtu{ get { return (int) mtu; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. ////// namespace System.Net.NetworkInformation { using System.Net; using System.Net.Sockets; using System; using System.Runtime.InteropServices; using System.Collections; using System.ComponentModel; using System.Security.Permissions; using Microsoft.Win32; internal class SystemIPv6InterfaceProperties:IPv6InterfaceProperties{ uint index = 0; uint mtu = 0; internal SystemIPv6InterfaceProperties(uint index, uint mtu) { this.index = index; this.mtu = mtu; } /// /// Provides support for ip configuation information and statistics. /// Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Index{ get { return (int)index; } } ///Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Mtu{ get { return (int) mtu; } } } } // 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
- TextProperties.cs
- ProcessHostFactoryHelper.cs
- SecurityTokenException.cs
- ChtmlFormAdapter.cs
- Interlocked.cs
- PageAsyncTask.cs
- VScrollBar.cs
- SingleConverter.cs
- Fonts.cs
- SmtpNegotiateAuthenticationModule.cs
- RelationshipConstraintValidator.cs
- Zone.cs
- SwitchLevelAttribute.cs
- Grid.cs
- SkewTransform.cs
- AdornerLayer.cs
- ScrollProperties.cs
- SqlParameter.cs
- SmiConnection.cs
- Aggregates.cs
- ControllableStoryboardAction.cs
- DoubleStorage.cs
- InvalidOleVariantTypeException.cs
- ListViewSortEventArgs.cs
- DataSet.cs
- RowToParametersTransformer.cs
- StrongNamePublicKeyBlob.cs
- EqualityComparer.cs
- DefaultAutoFieldGenerator.cs
- SQLDoubleStorage.cs
- IPEndPointCollection.cs
- PrivilegedConfigurationManager.cs
- NonBatchDirectoryCompiler.cs
- ReferenceService.cs
- PersistStreamTypeWrapper.cs
- Interlocked.cs
- CqlLexerHelpers.cs
- SafeFileHandle.cs
- QilTypeChecker.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- FunctionQuery.cs
- ValueChangedEventManager.cs
- Invariant.cs
- GraphicsContext.cs
- DataTableMappingCollection.cs
- DomNameTable.cs
- Shape.cs
- LinkClickEvent.cs
- CngProperty.cs
- FrameworkContentElement.cs
- UpnEndpointIdentity.cs
- SimpleType.cs
- LayoutUtils.cs
- MaterialCollection.cs
- SQLDoubleStorage.cs
- datacache.cs
- XomlDesignerLoader.cs
- HttpPostedFile.cs
- MessageContractExporter.cs
- IERequestCache.cs
- ChannelServices.cs
- CookieProtection.cs
- BuildProvider.cs
- AliasGenerator.cs
- LicFileLicenseProvider.cs
- XmlStreamStore.cs
- CreatingCookieEventArgs.cs
- KeyGestureConverter.cs
- TextComposition.cs
- BuildProvider.cs
- EpmSourcePathSegment.cs
- NullableBoolConverter.cs
- EntityDesignerDataSourceView.cs
- StorageEntityTypeMapping.cs
- DbConnectionPoolGroupProviderInfo.cs
- KeyValueSerializer.cs
- KeyBinding.cs
- LocalizabilityAttribute.cs
- TrustManagerMoreInformation.cs
- DropShadowBitmapEffect.cs
- SQLString.cs
- MetadataPropertyvalue.cs
- DataGridViewColumnHeaderCell.cs
- Reference.cs
- Dictionary.cs
- Object.cs
- httpstaticobjectscollection.cs
- _BaseOverlappedAsyncResult.cs
- ClientUrlResolverWrapper.cs
- CmsInterop.cs
- IPAddress.cs
- FileDialogPermission.cs
- XsltSettings.cs
- CalendarAutomationPeer.cs
- PathNode.cs
- MembershipValidatePasswordEventArgs.cs
- ResourceContainerWrapper.cs
- TableProviderWrapper.cs
- RIPEMD160.cs
- DiffuseMaterial.cs