What is "rfc2898DeriveBytes" supposed to be? RFC2898 specifies mulitple KDFs, one of them being the supported PBKDF2 algorithm.
But anyway, all the algorithms in that RFC are not recommended nowadays. Use argon2, scrypt or bcrypt (in that order of preference).
But anyway, all the algorithms in that RFC are not recommended nowadays. Use argon2, scrypt or bcrypt (in that order of preference).