示例#1
0
        public void SetService( string Name, string Proto, string Auth )
        {
            XParameter Param = new XParameter( Name );
            Param.SetXValue( new XKey[]
            {
                new XKey( "proto", Proto )
                , new XKey( "auth", Auth )
            } );

            Settings.SetParameter( Param );
            Settings.Save();
        }