Sharpen.FilePath.GetAbsolutePath C# (CSharp) Method

GetAbsolutePath() public method

public GetAbsolutePath ( ) : string
return string
		public string GetAbsolutePath ()
		{
			return Path.GetFullPath (path);
		}

Usage Example

 /// <exception cref="System.IO.IOException"></exception>
 internal static void CopyStreamToFile(Stream inStream, FilePath file)
 {
     var outStream = new FileStream(file.GetAbsolutePath(), FileMode.OpenOrCreate);
     var n = 0;
     var buffer = new byte[16384];
     while ((n = inStream.Read(buffer, 0, buffer.Length)) > 0)
     {
         outStream.Write(buffer, 0, n);
     }
     outStream.Dispose();
     inStream.Dispose();
 }
All Usage Examples Of Sharpen.FilePath::GetAbsolutePath