Show / Hide Table of Contents

    Class HostInfo

    Record for a host name/address.

    Inheritance
    Object
    HostInfo
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class HostInfo

    Constructors

    | Improve this Doc View Source

    HostInfo()

    Initializes a new instance of the HostInfo class.

    Declaration
    public HostInfo()
    | Improve this Doc View Source

    HostInfo(IPAddress)

    Initializes a new instance of the HostInfo class.

    Declaration
    public HostInfo(IPAddress address)
    Parameters
    Type Name Description
    IPAddress address

    The IP address.

    | Improve this Doc View Source

    HostInfo(String)

    Initializes a new instance of the HostInfo class.

    Declaration
    public HostInfo(string hostName)
    Parameters
    Type Name Description
    String hostName

    The host name.

    Properties

    | Improve this Doc View Source

    Address

    Gets the IP address.

    Declaration
    public IPAddress Address { get; }
    Property Value
    Type Description
    IPAddress
    | Improve this Doc View Source

    HostName

    Gets the host name.

    Declaration
    public string HostName { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    IsAddress

    Gets a value indicating whether this object represents an IP address.

    Declaration
    public bool IsAddress { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsEmpty

    Gets a value indicating whether this host object is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsHostName

    Gets a value indicating whether this object represents an host name.

    Declaration
    public bool IsHostName { get; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.