Util GetInterviewRuntimeFile Method
This method returns the requested runtime file from the ServerFiles cache. If the file can be found in either the cache or the source URL, it is returned in the response. Otherwise, nothing is done with the response and the method returns false to indicate failure.

Namespace: HotDocs.Sdk.Server
Assembly: HotDocs.Sdk.Server (in HotDocs.Sdk.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Stream GetInterviewRuntimeFile(
	string fileName,
	string cacheFolder,
	string sourceUrl,
	out string contentType
)

Parameters

fileName
Type: OnlineSystem String
The name of the file.
cacheFolder
Type: OnlineSystem String
The folder where the file is cached.
sourceUrl
Type: OnlineSystem String
The URL where the file can be found if it does not exist in the cache.
contentType
Type: OnlineSystem String 
Output parameter containing the MIME type of requested runtime file.

Return Value

Type: OnlineStream
A Stream containing the runtime file.
See Also