// Assume 'entry' is an instance of PwEntry class if(entry.GetAutoTypeEnabled()) { // Auto-type is enabled for this entry. } else { // Auto-type is not enabled for this entry. }
// Assume 'entry' is an instance of PwEntry class and 'keepassDB' is an instance of PwDatabase class if(entry.GetAutoTypeEnabled()) { PwAutoType.EnsureInitialized(keepassDB); // Initialize auto-type PwAutoType.PerformAutoType(entry, null); // Perform auto-type on the entry }Package library: KeePassLibCSharp.