-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLicenseKey.cs
More file actions
25 lines (23 loc) · 867 Bytes
/
LicenseKey.cs
File metadata and controls
25 lines (23 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
namespace Rebex.Samples
{
internal static class LicenseKey
{
/// <summary>
/// If you have already purchased a Rebex component license at https://www.rebex.net/,
/// put your Rebex license key below. See https://www.rebex.net/kb/license-keys/ for
/// instructions on getting your key.
/// Otherwise, to start your 30-day evaluation period, get your trial key
/// from https://www.rebex.net/support/trial/
/// </summary>
public static string Value
{
get
{
string key = null; // put your license key here
// if no key is set, try reading it from REBEX_KEY environment variable.
return key ?? Environment.GetEnvironmentVariable("REBEX_KEY");
}
}
}
}