/// <summary>Occurs when a manual action should be loaded and resumed.</summary> /// <param name="sender">The sender object.</param> /// <param name="e">Event arguments</param> /// <remarks> /// <para>This method handles the <see cref="LicensingGui.ManualActionLoadRequested"/> event.</para> /// <note type="caution"> /// <para> /// TODO: IMPORTANT: Either Implement your own handlers for loading and saving a manual request state/session, or update /// the ManualActionIV and ManualActionKey properties (in the LicenseConfiguration class) with randomized data which is /// unique for each of your applications. The implementations provided are simple and only designed to show you the /// functionality which you can achieve by saving and restoring manual action sessions. However, it is VERY IMPORTANT /// that you take measures to hide and protect the saved request data/file so users may not easily restore and replay /// old responses (known as a replay attack). /// </para> /// </note> /// </remarks> private void ManualActionLoadRequested(object sender, ManualActionLoadRequestedEventArgs e) { e.Contents = SampleLicense.LoadManualActionSessionState(); }