Exemplo n.º 1
0
        public static bool GetAccountImage(int Account)
        {
            bool flag;

            try
            {
                FWriteCallback callback = new FWriteCallback(FWrite);
                if (GetAccountImage(Account, callback))
                {
                    LastMsg = "The request GetAccountImage is successful";
                    return(true);
                }
                LastMsg = GetError();
                flag    = false;
            }
            catch (Exception e)
            {
                LastMsg = e.ToString();
                flag    = false;
            }
            return(flag);
        }
Exemplo n.º 2
0
 private static extern bool GetAccountImage(int Account, FWriteCallback callback);