コード例 #1
0
        private static string Get(string request, params object[] args)
        {
            request = string.Format(request, args);
            string reply = SkypeObject.Invoke(string.Format("GET {0}", request));

            if (!reply.StartsWith("ERROR"))
            {
                return(reply.Substring(request.Length).Trim());
            }
            Log <Skype> .Warn("Skype failed for {0}", request);

            Log <Skype> .Debug("Skype replied with: {0}", reply);

            return("");
        }