# CSharp Example Appliction for use with CSharp API

This `WindowsFormDemoApp` is a sample CSharp .Net desktop application that demonstrates how to use the CSharp WebWorks Help API.

While the WebWorks Help API is generally no longer needed for use with the formats: "WebWorks Reverb" and "WebWorks Reverb 2.0" it is still provided for maintaining compatibility with existing "WebWorks Help 5.0" implementations or existing "WebWorks Reverb 1/2" implementations that were upgraded from "WebWorks Help 5.0".

If you are creating a new interface with "WebWorks Reverb 2.0", feel free to contact WebWorks support if you have questions about whether or not to use the "WebWorks Help API" or to simply use URLs in your integrations. Typically using the URL integrations is just as effective as using the API and simpler to implement.

For more information about integrating "WebWorks Reverb 2.0" with your applications, see: 
<https://webworks.com/Documentation/Reverb/#search/%22Help%20in%20WebWorks%20Reverb%202.0%20using%20Standard%20URLs%22>

## Steps

- In your application, add the Visual Studio project located in the `apis\csharp` folder to your project's solution.

- Create a single instance of the `WWHelpAPI` object as follows:
  ```
  using WebWorks.Help;

  mHelp = new WWHelpAPI(@"C:\<Path To Your Application>\Help");
  
  mHelp..DisplayHelp("alpha", "Topic1");
  ```

- Use functions such as `DisplayHelp()` to load the help content into the end-user's browser using Topic Alias IDs and Context parameters.
