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
- ScriptResourceAttribute.cs
- DragDrop.cs
- AnimationLayer.cs
- FixedDSBuilder.cs
- StylusButtonEventArgs.cs
- DelegateInArgument.cs
- VirtualDirectoryMappingCollection.cs
- SQLBytes.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- _DomainName.cs
- SkinBuilder.cs
- Shape.cs
- ObjectPersistData.cs
- DataBindingExpressionBuilder.cs
- InstanceDescriptor.cs
- CancelEventArgs.cs
- StreamUpdate.cs
- ErrorEventArgs.cs
- Int32Storage.cs
- IndicFontClient.cs
- ByteStream.cs
- DateTimeOffsetAdapter.cs
- DocumentXmlWriter.cs
- EntryIndex.cs
- PersistenceTypeAttribute.cs
- XmlSchemaRedefine.cs
- WebPartsSection.cs
- GridViewRowPresenterBase.cs
- XmlDataFileEditor.cs
- EntitySetDataBindingList.cs
- altserialization.cs
- SpeechSynthesizer.cs
- BitmapCache.cs
- UnmanagedMemoryStreamWrapper.cs
- SystemBrushes.cs
- SimpleFileLog.cs
- ChangePasswordDesigner.cs
- Regex.cs
- ManagementObjectSearcher.cs
- PlatformNotSupportedException.cs
- BaseDataListDesigner.cs
- ClientConfigPaths.cs
- CodeCatchClauseCollection.cs
- ChannelBuilder.cs
- DBDataPermission.cs
- DataTableCollection.cs
- KnowledgeBase.cs
- XsltLibrary.cs
- DispatcherTimer.cs
- DispatchChannelSink.cs
- HttpCacheVaryByContentEncodings.cs
- TypeSystemHelpers.cs
- TextContainerChangeEventArgs.cs
- AnonymousIdentificationSection.cs
- Context.cs
- TypeGeneratedEventArgs.cs
- ErrorView.xaml.cs
- EncryptedType.cs
- AppDomainManager.cs
- ActivatedMessageQueue.cs
- TypefaceCollection.cs
- SimpleTypeResolver.cs
- PersistenceTypeAttribute.cs
- CompilerCollection.cs
- FileSystemWatcher.cs
- CorePropertiesFilter.cs
- DataGridHeaderBorder.cs
- ColorPalette.cs
- TextModifier.cs
- FrameSecurityDescriptor.cs
- LabelAutomationPeer.cs
- NameService.cs
- QueryOptionExpression.cs
- FormatConvertedBitmap.cs
- DataControlPagerLinkButton.cs
- OleDbRowUpdatingEvent.cs
- SelectingProviderEventArgs.cs
- SettingsPropertyIsReadOnlyException.cs
- ContextStaticAttribute.cs
- PixelShader.cs
- DescendantOverDescendantQuery.cs
- EndCreateSecurityTokenRequest.cs
- HandlerMappingMemo.cs
- EventSinkHelperWriter.cs
- TreeNodeBindingCollection.cs
- PropertyInformationCollection.cs
- SwitchAttribute.cs
- NamespaceList.cs
- CodeParameterDeclarationExpressionCollection.cs
- HtmlInputCheckBox.cs
- ListBindingHelper.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- MimeObjectFactory.cs
- FixUp.cs
- SwitchAttribute.cs
- SelectingProviderEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- BufferedGraphicsContext.cs
- GridItemProviderWrapper.cs
- NativeStructs.cs