GemBox.Email
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ComponentInfo Class

    Namespace:
    GemBox.Email
    Assembly:
    GemBox.Email.dll

    Contains static licensing methods and diagnostic information about executing GemBox.Email assembly.

    • C#
    • VB.NET
    public static class ComponentInfo
    Public Module ComponentInfo
    Inheritance:
    System.Object
    ComponentInfo

    Properties

    FullVersion

    Gets GemBox.Email assembly full version.

    • C#
    • VB.NET
    public static string FullVersion { get; }
    Public Shared ReadOnly Property FullVersion As String
    Property Value
    System.String

    Title

    GemBox.Email assembly title.

    • C#
    • VB.NET
    public static string Title { get; }
    Public Shared ReadOnly Property Title As String
    Property Value
    System.String

    Methods

    SetLicense(String)

    Sets the license (serial) key.

    • C#
    • VB.NET
    public static void SetLicense(string serialKey)
    Public Shared Sub SetLicense(serialKey As String)
    Parameters
    serialKey
    System.String

    The serial key.

    Remarks

    You should call this method before using any other class from GemBox.Email assembly.

    Key can only be set once (if you try another key, it will be ignored).

    The best place to call this method is from static constructor of your application's main class.

    Valid serial key has multiple groups of alphanumeric characters, separated with dashes.

    To use the assembly in free limited mode use FREE-LIMITED-KEY as serialKey.

    Events

    FreeLimitReached

    Occurs when GemBox.Email assembly is used with FREE-LIMITED-KEY license key and free limit is reached.

    • C#
    • VB.NET
    public static event EventHandler<FreeLimitEventArgs> FreeLimitReached
    Public Shared Event FreeLimitReached As EventHandler(Of FreeLimitEventArgs)
    Event Type
    System.EventHandler<FreeLimitEventArgs>
    Remarks

    This event is raised when GemBox.Email assembly is used with FREE-LIMITED-KEY license key and maximum number of sent and received MailMessage instances (50) is reached or ContentEntity content size exceeds maximum value (50 KB).

    You can use this event to continue using the assembly by stopping further sending/receiving of messages by setting FreeLimitReachedAction to Stop).

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.