Following are some common properties, methods and utilities used in all GroupDocs.Search for .NET API examples.

Common Properties

<script src="https://gist.github.com/GroupDocsGists/082e6b70308f2c41b30edeb328b4406c.js"></script>

Apply License

Following code applies product license.

<script src="https://gist.github.com/GroupDocsGists/e41973d460fde16909ebfbb6231ae7de.js"></script>

Integrate Dynabic.Metered Account

this feature is supported in version 17.6 or greater of the API

GroupDocs.Search for .NET API allows its users to use Dynabic.Metered account to run library in licensed mode. It works only with enabled internet connection.

<script src="https://gist.github.com/GroupDocsGists/6bec627db6dc1a28ea545ffdf9b61bb5.js"></script>

Complete Class

<script src="https://gist.github.com/GroupDocsGists/27e244f70775ac67d3fde5d1f6432ede.js"></script>