36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Net;
|
|
|
|
namespace Step.CmsConnectGateway
|
|
{
|
|
|
|
|
|
public enum GatewayConnectionStatus { OK = 0, WEB_ERROR = 1, PORT_ERROR = 2 };
|
|
|
|
public class GatewayNetworkConfiguration
|
|
{
|
|
internal GatewayNetworkConfiguration() {}
|
|
public Boolean hasDhcp { get; internal set;}
|
|
public IPAddress ipAddress { get; internal set; }
|
|
public IPAddress netMaskAddress { get; internal set; }
|
|
public IPAddress defaultGatewayAddress { get; internal set; }
|
|
public IEnumerable<IPAddress> dnsAddresses { get; internal set; }
|
|
public IEnumerable<string> dnsPrefixes { get; internal set; }
|
|
}
|
|
|
|
public class GatewayProxyConfiguration
|
|
{
|
|
internal GatewayProxyConfiguration(){}
|
|
public Boolean hasProxy { get; internal set; }
|
|
public string address { get; internal set; }
|
|
public uint port { get; internal set; }
|
|
public string username { get; internal set; }
|
|
public string password { get; internal set; }
|
|
public IEnumerable<string> noproxyAddresses { get; internal set; }
|
|
}
|
|
}
|