Esempio n. 1
0
        public int EndReadAll(IAsyncResult asyncResult)
        {
            AsyncResult myar = asyncResult as AsyncResult;

            return(myar.WaitForCompletion());
        }
Esempio n. 2
0
        public int EndPrebuffering(IAsyncResult ar)
        {
            AsyncResult myar = (AsyncResult)ar;

            return(myar.WaitForCompletion());
        }