/// <summary> /// generiert zufälliges Passwort aus einer GUID /// </summary> /// <param name="iPWLength">max. Passwortlänge, max. 32 Zeichen</param> /// <returns>zufälliges Passwort</returns> private string RandomPassword(int iPWLength) { string sGUID = Guid.NewGuid().ToString().Replace("-", ""); if (sGUID.Length < iPWLength) iPWLength = sGUID.Length; return sGUID.Substring(0, iPWLength); }
Kategorien
-
Neueste Beiträge
- [SAP] Mailversand einrichten
- [SAP EWM] SAP EWM and SAP ERP integration via CIF
- [SAP] Nutzung der ALV-Anzeige im MM-Reporting
- [Raspberry Pi 4] Raspberry Pi als DNS Server
- [Raspberry Pi] SSH aktivieren
- [Raspberry Pi] Bootoptionen in der config.txt
- [Raspberry Pi 4] Bessere Youtube-Videoperformance in Google Chrome
- [Raspberry Pi 4] Direkt von SSD booten (ohne SD-Karte)
- [ABAP] Fixkontentabelle (T030) auslesen
- [SAPUI5] SAPUI5 Entwicklung mit SAP Business Application Studio (BAS)