Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Net / System / Net / IPHostEntry.cs / 1 / IPHostEntry.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net {
// Host information
///
/// Provides a container class for Internet host address information..
///
public class IPHostEntry {
string hostName;
string[] aliases;
IPAddress[] addressList;
///
///
/// Contains the DNS
/// name of the host.
///
///
///
///
public string HostName {
get {
return hostName;
}
set {
hostName = value;
}
}
///
///
/// Provides an
/// array of strings containing other DNS names that resolve to the IP addresses
/// in .
///
///
///
///
public string[] Aliases {
get {
return aliases;
}
set {
aliases = value;
}
}
///
///
/// Provides an
/// array of objects.
///
///
///
///
public IPAddress[] AddressList {
get {
return addressList;
}
set {
addressList = value;
}
}
} // class IPHostEntry
} // namespace System.Net
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net {
// Host information
///
/// Provides a container class for Internet host address information..
///
public class IPHostEntry {
string hostName;
string[] aliases;
IPAddress[] addressList;
///
///
/// Contains the DNS
/// name of the host.
///
///
///
///
public string HostName {
get {
return hostName;
}
set {
hostName = value;
}
}
///
///
/// Provides an
/// array of strings containing other DNS names that resolve to the IP addresses
/// in .
///
///
///
///
public string[] Aliases {
get {
return aliases;
}
set {
aliases = value;
}
}
///
///
/// Provides an
/// array of objects.
///
///
///
///
public IPAddress[] AddressList {
get {
return addressList;
}
set {
addressList = value;
}
}
} // class IPHostEntry
} // namespace System.Net
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PageWrapper.cs
- GlobalItem.cs
- ButtonBaseAutomationPeer.cs
- StringAttributeCollection.cs
- CapabilitiesState.cs
- OleDbRowUpdatedEvent.cs
- HtmlInputButton.cs
- ExtentKey.cs
- CustomAttribute.cs
- GridErrorDlg.cs
- SequentialOutput.cs
- ListenerUnsafeNativeMethods.cs
- DecodeHelper.cs
- ListViewInsertedEventArgs.cs
- TextTreeFixupNode.cs
- DllNotFoundException.cs
- Calendar.cs
- AutomationAttributeInfo.cs
- ReflectionUtil.cs
- ThemeDirectoryCompiler.cs
- ExpressionWriter.cs
- SHA384Managed.cs
- SafeBuffer.cs
- TextTreeObjectNode.cs
- ConditionCollection.cs
- PreservationFileReader.cs
- CustomGrammar.cs
- LocationUpdates.cs
- ClassHandlersStore.cs
- processwaithandle.cs
- DrawingAttributeSerializer.cs
- Exceptions.cs
- Content.cs
- UpdateEventArgs.cs
- PaintValueEventArgs.cs
- XmlNamespaceManager.cs
- Keyboard.cs
- GridViewRowEventArgs.cs
- RowToFieldTransformer.cs
- ListViewDeleteEventArgs.cs
- ListBox.cs
- SymbolTable.cs
- RouteItem.cs
- GradientStop.cs
- SessionParameter.cs
- NotFiniteNumberException.cs
- GeometryHitTestParameters.cs
- CatalogZone.cs
- SqlFlattener.cs
- BaseWebProxyFinder.cs
- SortExpressionBuilder.cs
- ExternalException.cs
- KernelTypeValidation.cs
- TaskHelper.cs
- BoolExpressionVisitors.cs
- ellipse.cs
- URLAttribute.cs
- EdmSchemaError.cs
- RenderTargetBitmap.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- BitmapSizeOptions.cs
- ApplicationException.cs
- XamlReader.cs
- DictionaryManager.cs
- StatementContext.cs
- MulticastNotSupportedException.cs
- XmlChoiceIdentifierAttribute.cs
- storepermission.cs
- RuleInfoComparer.cs
- ByeMessageApril2005.cs
- ConnectionStringsExpressionBuilder.cs
- DbFunctionCommandTree.cs
- PatternMatcher.cs
- CodeConstructor.cs
- DelegateBodyWriter.cs
- SerializableTypeCodeDomSerializer.cs
- CodePrimitiveExpression.cs
- SmiContextFactory.cs
- BaseProcessor.cs
- IndividualDeviceConfig.cs
- RefreshEventArgs.cs
- UserPersonalizationStateInfo.cs
- DockAndAnchorLayout.cs
- ILGenerator.cs
- SymbolResolver.cs
- DataBindingCollectionEditor.cs
- CryptoKeySecurity.cs
- KnowledgeBase.cs
- COM2FontConverter.cs
- WS2007HttpBindingCollectionElement.cs
- OracleFactory.cs
- WsdlImporterElementCollection.cs
- KernelTypeValidation.cs
- CatalogZone.cs
- MinMaxParagraphWidth.cs
- StartFileNameEditor.cs
- RectAnimation.cs
- ProfileServiceManager.cs
- SrgsNameValueTag.cs
- securitymgrsite.cs