public FileReference Store(FileStorageArea StorageArea, string Name, string ContentType, System.IO.Stream Stream) { Guid fileHandle; long Size; StoreFile(Name, ContentType, Stream, out fileHandle, out Size); return(FileReference.FromNewFile(StorageArea, Name, Size, fileHandle.ToString(), ContentType)); }