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.ServerAssembly: HotDocs.Sdk.Server (in HotDocs.Sdk.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type:
System String
The name of the file.
- cacheFolder
- Type:
System String
The folder where the file is cached.
- sourceUrl
- Type:
System String
The URL where the file can be found if it does not exist in the cache.
- contentType
- Type:
System String
Output parameter containing the MIME type of requested runtime file.
Return Value
Type:
A Stream containing the runtime file.
See Also