Updates an RNG seed file.
Public Declare Function RNG_UpdateSeedFile Lib "diCryptoSys.dll" (ByVal strSeedFile As String, ByVal nOptions As Long) As Long
nRet = RNG_UpdateSeedFile(strSeedFile, nOptions)
long __stdcall RNG_UpdateSeedFile(const char *szSeedFile, long nOptions);
If successful, the return value is zero; otherwise it returns a non-zero error code.
static int crsysapi::Rng::UpdateSeedFile (const std::string &seedFile)
static Rng.update_seedfile(seedfilename)
The seed file must be writable by the user. Use this function at periodic intervals or when exiting your application. If the file does not exist it will be created. Any existing file of the same name will be overwritten without warning.
See the example in RNG_Initialize
.
RNG_Initialize
RNG_MakeSeedFile