RPS.Config.jsGetUFRawLocation C# (CSharp) Method

jsGetUFRawLocation() public method

public jsGetUFRawLocation ( ) : string
return string
        public string jsGetUFRawLocation()
        {
            string path = (string) Registry.GetValue("HKEY_CURRENT_USER\\Software\\Microsoft\\IntelliPoint\\AppSpecific\\ufraw.exe", "Path", null);
            path = path.Replace("ufraw.exe", "ufraw-batch.exe");
            if (path != null && path.Length > 0) {
                if (File.Exists(path)) {
                    return path;
                }
            }
            return null;
        }