CngKey.ParentWindowHandle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the window handle (HWND) that should be used for user interface (UI) prompts caused by accessing the key.
public:
property IntPtr ParentWindowHandle { IntPtr get(); void set(IntPtr value); };
public IntPtr ParentWindowHandle { get; set; }
public IntPtr ParentWindowHandle { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.ParentWindowHandle : nativeint with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.ParentWindowHandle : nativeint with get, set
Public Property ParentWindowHandle As IntPtr
Property Value
nativeint
The parent window handle for the key.
- Attributes
Remarks
The parent window handle for the key is used in UI prompts, such as smart card PIN prompts. This value is not persisted with persisted keys.
We recommend that you always set this property for keys that display a user interface. Do not use the default value of null
for such keys.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για