Class Network
Inheritance
System.Object
Network
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class Network : object
Constructors
Declaration
public Network(string networkPassphrase)
Parameters
Type |
Name |
Description |
System.String |
networkPassphrase |
|
Fields
Declaration
public static readonly string PublicPassphrase
Field Value
Declaration
public static readonly string TestnetPassphrase
Field Value
Properties
Declaration
public static Network Current { get; }
Property Value
Declaration
public byte[] NetworkId { get; }
Property Value
Declaration
public string NetworkPassphrase { get; }
Property Value
Methods
Declaration
public static bool IsPublicNetwork(Network network)
Parameters
Type |
Name |
Description |
Network |
network |
|
Returns
Declaration
public static Network Public()
Returns
Declaration
public static Network Test()
Returns
Declaration
public static void Use(Network network)
Parameters
Type |
Name |
Description |
Network |
network |
|
Declaration
public static void UsePublicNetwork()
Declaration
public static void UseTestNetwork()