Share

AcDbPasswordedFile

Class Hierarchy

AcDbPasswordedFile

C++

class AcDbPasswordedFile;

File

dbapserv.h

Description

Derived classes are expected to override tryPassword and cache a file moniker (file name, file handle etc.) during construction. so they can try the passwords passed to tryPassword. Here are the possible conditions for wszPassword:

null - check the password cache first then prompt for password

"some-value" -- try the supplied value then the cache but don't prompt for another password if it fails

"" -- skip the cache and the prompt and just fail if encrypted

Links

AcDbPasswordedFile Methods

See Also

AcDbHostApplicationServices::PasswordOptions

Was this information helpful?