Пример #1
0
        public int EndReadAll(IAsyncResult asyncResult)
        {
            AsyncResult myar = asyncResult as AsyncResult;

            return(myar.WaitForCompletion());
        }
Пример #2
0
        public int EndPrebuffering(IAsyncResult ar)
        {
            AsyncResult myar = (AsyncResult)ar;

            return(myar.WaitForCompletion());
        }