예제 #1
0
        public System.IO.Stream GetReversedStream()
        {
            //this file path assumes the image is in
            // the Service folder and the service is executing
            // in Service/bin
            string filePath = Path.Combine(
                System.Environment.CurrentDirectory,
                ".\\image.jpg");

            ReverseStream stream = new ReverseStream(filePath);

            return(stream);
        }
예제 #2
0
        public System.IO.Stream GetReversedStream()
        {
            //this file path assumes the image is in
            // the Service folder and the service is executing
            // in Service/bin
            string filePath = Path.Combine(
                System.Environment.CurrentDirectory,
                ".\\image.jpg");

            ReverseStream stream = new ReverseStream(filePath);
            return stream;
        }