Provides access to a window's handle (Hwnd) from native code.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
Thetype exposes the following members.
|AcquireLifetimeToken||Specifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)|
|GetHandle||Obtains the window's handle (Hwnd).|
|GetRemoteHashCode||Returns a hash code for the IContract. (Inherited from IContract.)|
|QueryContract||Returns a contract that is implemented by this contract. (Inherited from IContract.)|
|RemoteEquals||Indicates whether the specified contract is equal to this IContract. (Inherited from IContract.)|
|RemoteToString||Returns a string representation of the current IContract. (Inherited from IContract.)|
|RevokeLifetimeToken||Specifies that the contract is no longer accessible to a client. (Inherited from IContract.)|
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.