コード例 #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;
 }