SafeNet/.svn/pristine/f4/f491771d57fb8aaf2af78e42f9018a39b0138809.svn-base
2021-02-24 13:50:23 +02:00

33 lines
619 B
Plaintext

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SN_Server
{
public class ServerIdent
{
private string ip;
public string IP
{
get { return ip; }
set { ip = value; }
}
private int port;
public int Port
{
get { return port; }
set { port = value; }
}
public ServerIdent() { }
public ServerIdent(string ident)
{
ip = ident.Split(':')[0];
port = Convert.ToInt32(ident.Split(':')[1]);
}
}
}