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
- AttributeQuery.cs
- _SecureChannel.cs
- WebPartAuthorizationEventArgs.cs
- TextRangeAdaptor.cs
- BufferAllocator.cs
- StandardToolWindows.cs
- InvokeSchedule.cs
- UrlAuthorizationModule.cs
- IntegerFacetDescriptionElement.cs
- TextTreeTextElementNode.cs
- SqlAliaser.cs
- XmlMemberMapping.cs
- SmtpFailedRecipientsException.cs
- SelectionProviderWrapper.cs
- GridViewColumnHeaderAutomationPeer.cs
- QilInvoke.cs
- SkipStoryboardToFill.cs
- DynamicValueConverter.cs
- CodeStatementCollection.cs
- TypeAccessException.cs
- ProfilePropertySettingsCollection.cs
- DmlSqlGenerator.cs
- smtppermission.cs
- MissingSatelliteAssemblyException.cs
- ObjectAnimationBase.cs
- MethodImplAttribute.cs
- SelectedGridItemChangedEvent.cs
- CounterSetInstance.cs
- ProfileSettings.cs
- ExtentJoinTreeNode.cs
- CompilerScopeManager.cs
- DesignerActionHeaderItem.cs
- DataGridSortingEventArgs.cs
- ToolStripLocationCancelEventArgs.cs
- X509PeerCertificateAuthentication.cs
- FlowDocumentView.cs
- PartitionedStream.cs
- ActiveXHost.cs
- URIFormatException.cs
- AQNBuilder.cs
- UnsafeNativeMethods.cs
- SystemWebCachingSectionGroup.cs
- SecurityNegotiationException.cs
- PageAdapter.cs
- DesignerCategoryAttribute.cs
- ToolboxItemLoader.cs
- WebPartEventArgs.cs
- GenericNameHandler.cs
- Perspective.cs
- LinqDataSourceDisposeEventArgs.cs
- SeparatorAutomationPeer.cs
- DataGridViewSelectedColumnCollection.cs
- sqlinternaltransaction.cs
- XPathEmptyIterator.cs
- SplitterEvent.cs
- TabletDevice.cs
- EmptyEnumerable.cs
- DbDataRecord.cs
- LinqDataSourceDisposeEventArgs.cs
- TextEndOfSegment.cs
- PropertyGrid.cs
- DeflateStream.cs
- EntityContainerAssociationSetEnd.cs
- GridViewRowPresenter.cs
- Resources.Designer.cs
- Configuration.cs
- RecordBuilder.cs
- XslAstAnalyzer.cs
- ViewStateModeByIdAttribute.cs
- EntityTransaction.cs
- AbstractExpressions.cs
- WebHttpBinding.cs
- ArgumentDesigner.xaml.cs
- ColorInterpolationModeValidation.cs
- PasswordRecovery.cs
- Pkcs7Recipient.cs
- CodeEntryPointMethod.cs
- CacheRequest.cs
- HttpApplicationFactory.cs
- NullableBoolConverter.cs
- SoapInteropTypes.cs
- SynchronizedInputAdaptor.cs
- DWriteFactory.cs
- Facet.cs
- SettingsSection.cs
- DecoderFallback.cs
- CategoriesDocument.cs
- WorkflowExecutor.cs
- DefaultEventAttribute.cs
- Helpers.cs
- FixedTextPointer.cs
- ItemsControlAutomationPeer.cs
- Interop.cs
- AccessText.cs
- CounterCreationDataCollection.cs
- WebPageTraceListener.cs
- BaseCodeDomTreeGenerator.cs
- Vector3DKeyFrameCollection.cs
- MsmqHostedTransportConfiguration.cs
- ConfigurationManagerHelper.cs