IAspireStore.GetFileNameWithContent(String, Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a deterministic file path that is a copy of the content from the provided stream. The resulting file name will depend on the content of the stream.
public string GetFileNameWithContent(string filenameTemplate, System.IO.Stream contentStream);
abstract member GetFileNameWithContent : string * System.IO.Stream -> string
Public Function GetFileNameWithContent (filenameTemplate As String, contentStream As Stream) As String
Parameters
- filenameTemplate
- String
A file name to base the result on.
- contentStream
- Stream
A stream containing the content.
Returns
A deterministic file path with the same content as the provided stream.