|
|
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# |
|
|---|---|
public sealed class General
|
|
| Visual Basic (Declaration) |
|
|---|---|
Public NotInheritable Class General
|
|
The type exposes the following members.
Public Methods
| Name | Description | |
|---|---|---|
|
|
ConvertToType | Overloaded. |
|
|
Equals | (Inherited from Object.) |
|
|
GetEncoding | Overloaded. |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetIISVersion |
Gets the (local) IIS version.
|
|
|
GetRegistryKey | Overloaded. |
|
|
GetRegistryRoot | Overloaded. |
|
|
GetSiteRegistryKey | Overloaded. |
|
|
GetType | (Inherited from Object.) |
|
|
HasHtmlClass |
Returns true if the given className is found in the space-delimited classes string.
|
|
|
IsBase64String |
Returns true if the string is a valid Base64 representation.
|
|
|
IsEmptyStringOrNull |
Determines whether the given object is an empty string or null/DbNull.
|
|
|
NormalizeLineEndings |
Normalizes the line endings to use CrLf characters.
|
|
|
ToBoolean | Overloaded. |
|
|
ToString | (Inherited from Object.) |
|
|
TryToBoolean | Overloaded. |
Protected Methods
| Name | Description | |
|---|---|---|
|
|
Finalize | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
|
|
Is32BitProcessOn64BitProcessor |
Determines if the current process is a 32-bit process on a 64-bit processor (Windows-on-Windows).
|
|
|
Is64Bit |
Determines whether it's a 64-bit OS.
|
|
|
IsHostedInWinForm |
Gets a value indicating whether the current process is hosted in a Windows form.
|
|
|
IsManagerAppDomain |
Determines whether the current AppDomain is the Manager AppDomain.
|
|
|
ProgramFilesx86 |
Gets the correct 32 bit Program Files folder, both on 32 bit and 64 bit systems.
|
|
|
Site |
Gets or sets the current ISite instance.
|
See Also
Smartsite.Base Namespace