IVsStrongNameKeys.ChangePassword(String, String, String) Method
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.
Changes the password of an existing file.
public:
int ChangePassword(System::String ^ szPfxFile, System::String ^ szOldPassword, System::String ^ szNewPassword);
public:
int ChangePassword(Platform::String ^ szPfxFile, Platform::String ^ szOldPassword, Platform::String ^ szNewPassword);
int ChangePassword(std::wstring const & szPfxFile, std::wstring const & szOldPassword, std::wstring const & szNewPassword);
public int ChangePassword (string szPfxFile, string szOldPassword, string szNewPassword);
abstract member ChangePassword : string * string * string -> int
Public Function ChangePassword (szPfxFile As String, szOldPassword As String, szNewPassword As String) As Integer
Parameters
- szPfxFile
- String
[in] The name of the file whose password is to be changed.
- szOldPassword
- String
[in] The old password.
- szNewPassword
- String
[in] The new password.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.