Schumix.Irc.Network.SetConnectionType C# (CSharp) Method

SetConnectionType() public method

public SetConnectionType ( ConnectionType ctype ) : void
ctype ConnectionType
return void
        public void SetConnectionType(ConnectionType ctype)
        {
            CType = ctype;
        }

Usage Example

コード例 #1
0
ファイル: IrcBase.cs プロジェクト: corinne1405/Schumix2
        public void NewServer(string ServerName, int ServerId, string Host, int Port)
        {
            lock (Lock)
            {
                var nw = new Network(ServerName.ToLower(), ServerId, Host, Port);

                if (IRCConfig.List[ServerName].Ssl)
                {
                    nw.SetConnectionType(ConnectionType.Ssl);
                }

                _networks.Add(ServerName, nw);
                _networks[ServerName.ToLower()].InitializeIgnoreCommand();
            }
        }
All Usage Examples Of Schumix.Irc.Network::SetConnectionType