This is how I get the refresh rate of my primary monitor, by typing this command in CMD:
wmic PATH Win32_videocontroller get currentrefreshrate
Result