25 lines
510 B
C#
25 lines
510 B
C#
namespace BF
|
|
{
|
|
public sealed class NetConfiguration
|
|
{
|
|
private NetServiceType serviceType = NetServiceType.TCPService;
|
|
public NetServiceType ServiceType
|
|
{
|
|
get => serviceType;
|
|
set => serviceType = value;
|
|
}
|
|
|
|
private string threadName = "Service Thread";
|
|
public string ThreadName
|
|
{
|
|
get => threadName;
|
|
set => threadName = value;
|
|
}
|
|
|
|
public NetConfiguration()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
} |