Example #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);
        }
Example #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;
        }