/// <summary>
        /// Gets the email associated with the license user.
        /// </summary>
        /// <returns>Returns the license user email.</returns>
        public static string GetLicenseUserEmail()
        {
            var builder = new StringBuilder(256);
            int status;

            if (LexActivatorNative.IsWindows())
            {
                status = IntPtr.Size == 4 ? LexActivatorNative.GetLicenseUserEmail_x86(builder, builder.Capacity) : LexActivatorNative.GetLicenseUserEmail(builder, builder.Capacity);
            }
            else
            {
                status = LexActivatorNative.GetLicenseUserEmailA(builder, builder.Capacity);
            }
            if (LexStatusCodes.LA_OK == status)
            {
                return(builder.ToString());
            }
            throw new LexActivatorException(status);
        }