Show / Hide Table of Contents

    Class AccessPointConfiguration

    Configuration of GPRS access point (APN).

    Inheritance
    System.Object
    AccessPointConfiguration
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Eclo.nF.SIM800H
    Assembly: cs.temp.dll.dll
    Syntax
    public class AccessPointConfiguration

    Constructors

    AccessPointConfiguration()

    Empty GPRS bearer Access Point configuration.

    Declaration
    public AccessPointConfiguration()

    AccessPointConfiguration(String)

    GPRS bearer Access Point configuration.

    Declaration
    public AccessPointConfiguration(string apn)
    Parameters
    Type Name Description
    System.String apn

    Access Point name

    AccessPointConfiguration(String, String, String)

    GPRS bearer Access Point configuration.

    Declaration
    public AccessPointConfiguration(string apn, string userName, string password)
    Parameters
    Type Name Description
    System.String apn

    Access Point name

    System.String userName

    User name

    System.String password

    Password.

    Properties

    AccessPointName

    Access Point name. Can't be null

    Declaration
    public string AccessPointName { get; }
    Property Value
    Type Description
    System.String

    Password

    Password. Null if not used.

    Declaration
    public string Password { get; }
    Property Value
    Type Description
    System.String

    UserName

    User name. Null if not used.

    Declaration
    public string UserName { get; }
    Property Value
    Type Description
    System.String

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Parse(String)

    Parse a string with a valid Access Point configuration. Expected format is "apname|user|password". User name and password are optional.

    Declaration
    public static AccessPointConfiguration Parse(string s)
    Parameters
    Type Name Description
    System.String s

    String to be parsed in the format: "apname|user|password".

    Returns
    Type Description
    AccessPointConfiguration

    A new instance of AccessPointConfiguration with valid access point configuration

    ToString()

    String with representation of Access Point configuration in format "apname|user|password". If user and password are empty they won't be included in the configuration string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Operators

    Equality(AccessPointConfiguration, AccessPointConfiguration)

    Declaration
    public static bool operator ==(AccessPointConfiguration value1, AccessPointConfiguration value2)
    Parameters
    Type Name Description
    AccessPointConfiguration value1
    AccessPointConfiguration value2
    Returns
    Type Description
    System.Boolean

    Inequality(AccessPointConfiguration, AccessPointConfiguration)

    Declaration
    public static bool operator !=(AccessPointConfiguration value1, AccessPointConfiguration value2)
    Parameters
    Type Name Description
    AccessPointConfiguration value1
    AccessPointConfiguration value2
    Returns
    Type Description
    System.Boolean
    Back to top Copyright © 2018 Eclo Solutions
    Generated by DocFX