This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public sealed class General
Visual Basic (Declaration) Copy imageCopy Code
                                  Public NotInheritable Class General

The type exposes the following members.

Public Methods

  Name Description
Public method Static member ConvertToType Overloaded.
Public method Equals (Inherited from Object.)
Public method Static member GetEncoding Overloaded.
Public method GetHashCode (Inherited from Object.)
Public method Static member GetIISVersion
Gets the (local) IIS version.
Public method Static member GetRegistryKey Overloaded.
Public method Static member GetRegistryRoot Overloaded.
Public method Static member GetSiteRegistryKey Overloaded.
Public method GetType (Inherited from Object.)
Public method Static member HasHtmlClass
Returns true if the given className is found in the space-delimited classes string.
Public method Static member IsBase64String
Returns true if the string is a valid Base64 representation.
Public method Static member IsEmptyStringOrNull
Determines whether the given object is an empty string or null/DbNull.
Public method Static member NormalizeLineEndings
Normalizes the line endings to use CrLf characters.
Public method Static member ToBoolean Overloaded.
Public method ToString (Inherited from Object.)
Public method Static member TryToBoolean Overloaded.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Static member Is32BitProcessOn64BitProcessor
Determines if the current process is a 32-bit process on a 64-bit processor (Windows-on-Windows).
Public property Static member Is64Bit
Determines whether it's a 64-bit OS.
Public property Static member IsHostedInWinForm
Gets a value indicating whether the current process is hosted in a Windows form.
Public property Static member IsManagerAppDomain
Determines whether the current AppDomain is the Manager AppDomain.
Public property Static member ProgramFilesx86
Gets the correct 32 bit Program Files folder, both on 32 bit and 64 bit systems.
Public property Static member Site
Gets or sets the current ISite instance.

See Also

Advanced