Search Results for

    Show / Hide Table of Contents

    Class ProxyCredentials

    Proxy credentials.

    Inheritance
    System.Object
    ProxyCredentials
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ProxyCredentials : object

    Constructors

    ProxyCredentials(String, String)

    Initializes a new instance of the ProxyCredentials class.

    Declaration
    public ProxyCredentials(string username, string password)
    Parameters
    Type Name Description
    System.String username

    The username.

    System.String password

    The password.

    Properties

    Password

    Gets or sets the password.

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

    Username

    Gets or sets the username.

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

    Methods

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static ProxyCredentials FromJson(string instanceJson)
    Parameters
    Type Name Description
    System.String instanceJson

    The serialized JSON.

    Returns
    Type Description
    ProxyCredentials

    The instance.

    ToJson()

    Serializes this instance to JSON.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    The serialized JSON.

    ToJson(ProxyCredentials)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(ProxyCredentials instance)
    Parameters
    Type Name Description
    ProxyCredentials instance

    The instance.

    Returns
    Type Description
    System.String

    The serialized JSON.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0