Session.GetInterviewVersion Method
Deprecated
This method returns the HotDocs version number that was used to publish the template for use with HotDocs Server.
Syntax
public string GetInterviewVersion ( string interviewFileName )
Parameters | Description |
interviewFileName | The file name and path of the HotDocs interview definition (.JS) file for a template. |
Return Value
The version of HotDocs that was used to publish the template:
-
6.2.0.0: HotDocs 6
-
6.3.0.0: HotDocs 2005
-
6.4.0.0: HotDocs 2006-11
Example
The following Visual C# code displays the version of HotDocs that was used to publish a template.
public class ExampleCode { static void Main() { HotDocs.Server.Session HDSSession = new HotDocs.Server.Session(); string fileName = "c:\\temp\\demoempl.js"; System.Console.WriteLine("HotDocsVersion of {0}: {1}", fileName, HDSSession.GetHotDocsVersion(fileName)); System.Console.WriteLine("InterviewVersion of {0}: {1}", fileName, HDSSession.GetInterviewVersion(fileName)); } }