How to check the version of SQL Server Native Client

For certain purpose, you might want to check the version of SQL Server Native Client from your server. But how could you find the version of SQL Server Native Client installed from your server?

To find it out, you may use the registry editor to find it out.

For SQL Server 2008/SQL Server 2008 R2,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion

For SQL Server 2005,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Native Client\CurrentVersion