예제 #1
0
        private async Task GetDBID(string ID)
        {
            Task <TextResult> result     = client.SendCommandAsync(string.Concat("clientgetdbidfromuid cluid=", ID));
            TextResult        resultText = await result;

            DBID = Convert.ToInt32(resultText.Response.Substring((resultText.Response.IndexOf("cldbid=") + 7), (resultText.Response.Length - (resultText.Response.IndexOf("cldbid=") + 7))));
        }
예제 #2
0
 private async Task GetDBList()
 {
     Task <TextResult> result     = client.SendCommandAsync("clientdblist");
     TextResult        resultText = await result;
 }