Hi All,

I am working on Snow Leopard and work for a product based company. In one of our company's product, in the About box I need to display the current MAC OS Version.

Wanted to know if using the "SystemVersion.plist" method to determine the OS Name and version is the most reliable method available?

NSString *versionString;
	NSDictionary * sv = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"];
	versionString = [sv objectForKey:@"ProductVersion"];
I want to avoid making use of technique where major,minor versions are used to determine the current OS version as this method requires often requires formatting hardcoded strings to generate OS Version.

The above-mentioned code will give us the current OS Version as a string which can be displayed as it is.

Can I safely use this approach for current and future version of MAC (Lion and higher version of MAC which might be released in near future)?