If Microsoft.VisualBasic.Right(hpServerName.ToUpper, 1) = "C" Then
Dim rk As RegistryKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, _
hpServerName).OpenSubKey("Software\Microsoft\Microsoft SQL Server\MSSQL." & strX & "\Cluster")
Dim Instances As String
Instances = rk.GetValue("ClusterName")
To all those who want to do the Perl script in net code behind.