How can I do it? I followed this tutorial, so I have this method:
if (getOSInfo() >= "7")
{
MessageBox.Show("Your Microsoft Windows version isn't supported.\n\nPlease use Windows 7 or above to be able to use this program.");
Application.Current.Shutdown();
}
It gives an error:
Cannot apply operator >= to operands of type string and string