Class Servers
Servers helper.
Inherited Members
Namespace: EduCATS.Networking
Assembly: EduCATS.dll
Syntax
public static class Servers
Fields
EduCatsAddress
Test server address.
Declaration
public const string EduCatsAddress = "https://educats.by"
Field Value
Type | Description |
---|---|
string |
EduCatsBntuAddress
Stable server address.
Declaration
public const string EduCatsBntuAddress = "https://educats.bntu.by"
Field Value
Type | Description |
---|---|
string |
EduCatsByAddress
Test server not host27072020 address.
Declaration
public const string EduCatsByAddress = "https://educats.by"
Field Value
Type | Description |
---|---|
string |
EducatsBntuAndroidMarketString
Platform services.
Declaration
public const string EducatsBntuAndroidMarketString = "https://play.google.com/store/apps/details?id=by.bntu.educats"
Field Value
Type | Description |
---|---|
string |
EducatsBntuIOSMarketString
Platform services.
Declaration
public const string EducatsBntuIOSMarketString = "https://apps.apple.com/by/app/educats/id1505738731"
Field Value
Type | Description |
---|---|
string |
LocalAddress
Local server address.
Declaration
public const string LocalAddress = "http://172.16.11.72"
Field Value
Type | Description |
---|---|
string |
PlatformServices
Platform services.
Declaration
public static IPlatformServices PlatformServices
Field Value
Type | Description |
---|---|
IPlatformServices |
Properties
Current
Current server.
Declaration
public static string Current { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetServerType(string)
Get server name string by address.
Declaration
public static string GetServerType(string server)
Parameters
Type | Name | Description |
---|---|---|
string | server | Server address. |
Returns
Type | Description |
---|---|
string | Server name. |
SetCurrent(string)
Set current server.
Declaration
public static void SetCurrent(string server)
Parameters
Type | Name | Description |
---|---|---|
string | server | Server to set. |