<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.2.25502.107" />

CLSCTX

enum CLSCTX
Values that are used in activation calls to indicate the execution contexts in which an object is to be run.

Activate or connect to a 32-bit version of the server; fail if one is not registered.

Activate or connect to a 64 bit version of the server; fail if one is not registered.

Specify this flag for Interactive User activation behavior for As-Activator servers. A strongly named Medium IL Windows Store app can use this flag to launch an "As Activator" COM server without a strong name. Also, you can use this flag to bind to a running instance of the COM server that's launched by a desktop application. The client must be Medium IL, it must be strongly named, which means that it has a SysAppID in the client token, it can't be in session 0, and it must have the same user as the session ID's user in the client token. If the server is out-of-process and "As Activator", it launches the server with the token of the client token's session user. This token won't be strongly named. If the server is out-of-process and RunAs "Interactive User", this flag has no effect. If the server is out-of-process and is any other RunAs type, the activation fails. This flag has no effect for in-process servers. Off-machine activations fail when they use this flag.

Read more on docs.microsoft.com.

Indicates activation is for an app container.

Note  This flag is reserved for internal use and is not intended to be used directly from your code.

Read more on docs.microsoft.com.

Disables activate-as-activator (AAA) activations for this activation only. This flag overrides the setting of the EOAC_DISABLE_AAA flag from the EOLE_AUTHENTICATION_CAPABILITIES enumeration. This flag cannot be set at the same time as CLSCTX_ENABLE_AAA. Any activation where a server process would be launched under the caller's identity is known as an activate-as-activator (AAA) activation. Disabling AAA activations allows an application that runs under a privileged account (such as LocalSystem) to help prevent its identity from being used to launch untrusted components. Library applications that use activation calls should always set this flag during those calls. This helps prevent the library application from being used in an escalation-of-privilege security attack. This is the only way to disable AAA activations in a library application because the EOAC_DISABLE_AAA flag from the EOLE_AUTHENTICATION_CAPABILITIES enumeration is applied only to the server process and not to the library application. Windows 2000:  This flag is not supported.

Read more on docs.microsoft.com.

Enables activate-as-activator (AAA) activations for this activation only. This flag overrides the setting of the EOAC_DISABLE_AAA flag from the EOLE_AUTHENTICATION_CAPABILITIES enumeration. This flag cannot be set at the same time as CLSCTX_DISABLE_AAA. Any activation where a server process would be launched under the caller's identity is known as an activate-as-activator (AAA) activation. Enabling this flag allows an application to transfer its identity to an activated component. Windows 2000:  This flag is not supported.

Read more on docs.microsoft.com.

When this flag is specified, COM uses the impersonation token of the thread, if one is present, for the activation request made by the thread. When this flag is not specified or if the thread does not have an impersonation token, COM uses the process token of the thread's process for the activation request made by the thread.

Windows Vista or later:  This flag is supported.

Read more on docs.microsoft.com.

Enables the downloading of code from the directory service or the Internet. This flag cannot be set at the same time as CLSCTX_NO_CODE_DOWNLOAD.

Begin this activation from the default context of the current apartment.

The code that manages objects of this class is an in-process handler. This is a DLL that runs in the client process and implements client-side structures of this class when instances of the class are accessed remotely.

Obsolete.

The code that creates and manages objects of this class is a DLL that runs in the same process as the caller of the function specifying the class context.

Obsolete.

The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.

Disables the downloading of code from the directory service or the Internet. This flag cannot be set at the same time as CLSCTX_ENABLE_CODE_DOWNLOAD.

Specify if you want the activation to fail if it uses custom marshalling.

The CLSCTX_NO_FAILURE_LOG can be used to override the logging of failures in CoCreateInstanceEx. If the ActivationFailureLoggingLevel is created, the following values can determine the status of event logging:

This doc was truncated.

Read more on docs.microsoft.com.

CLSCTX_PS_DLL = 2147483648

Used for loading Proxy/Stub DLLs.

Note  This flag is reserved for internal use and is not intended to be used directly from your code.

Read more on docs.microsoft.com.

A remote context. The LocalServer32 or LocalService code that creates and manages objects of this class is run on a different computer.

Reserved.

Reserved.

Reserved.

Reserved.

Reserved.

CLSCTX_RESERVED6 = 16777216