Hi,
is it possible to change users password from a C# application ?
If so, is there any example ?
Thanks.
Change user password - C#
Moderator: Project members
Re: Change user password - C#
In users.xml passwords, assumed to be in UTF-8, are hashed with PBKDF2-HMAC-SHA256 with a 32 byte long random salt. Both salt and hash are encoded as base64 in the XML.
You could directly edit the users.xml file and afterwards instruct the service to reload its configuration: Open the service with OpenService, then call ControlService SERVICE_CONTROL_PARAMCHANGE.
You could directly edit the users.xml file and afterwards instruct the service to reload its configuration: Open the service with OpenService, then call ControlService SERVICE_CONTROL_PARAMCHANGE.
-
- 500 Command not understood
- Posts: 2
- Joined: 2023-07-16 02:29
- First name: Bruno
- Last name: Pereira
Re: Change user password - C#
It worked! Thanks