System.IO.WindowsRuntimeStreamExtensions.AsInputStream C# (CSharp) Method

AsInputStream() public static method

public static AsInputStream ( this source ) : IInputStream
source this
return IInputStream
		public static IInputStream AsInputStream (this Stream source)
		{
			if (source == null)
				throw new ArgumentNullException ("source");

			return new StreamToInputStreamAdapter (source);
		}