Ejemplo n.º 1
0
        public async Task MakeRequestTest()
#endif
        {
            string actual;

            actual = ImageInfo.MakeRequest(FileOpUrl);
            //System.Diagnostics.Process.Start(actual);
#if NET20 || NET40
            ImageInfoRet ret = ImageInfo.Call(actual);
            Assert.IsNotNull(ret, "ImageInfoTest MakeRequestTest Failure");
#else
            ImageInfoRet ret = await ImageInfo.CallAsync(actual);

            Assert.True(ret != null, "ImageInfoTest MakeRequestTest Failure");
#endif
        }