Share via


IAspireStore.GetFileNameWithContent(String, Stream) Method

Definition

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.

Applies to