License Key Activation

Hello!

I’ve just registered the product, received the key, and set the Diagram.LicenseKey value in the program’s Main method before anything else. However, I’m still seeing the watermark when I build & run in Visual Studio.

Is the string value the only property that is required to be set?

I’m also confused about what exactly “Application Name” references. Do you mean Assembly Name? Is that also required to match the value I entered when I activated the key?

Yes, you’ll need to make sure the Application Name you enter on the activation page matches your app’s name. The app name is usually set in App.axaml.cs within the Initialize method.

public partial class App : Application {
  public override void Initialize() {
    Name = "AvaloniaDemoApp";  // should match Application Name used during activation
    AvaloniaXamlLoader.Load(this);
  }

  ...
}

Ohhh ok, thanks!

I was getting tripped up because in the Product Activation page, it says “The name of your application assembly.”