How to get hash value in user.config path?
问题 I have installed .NET application. Its config location is %AppData%\[CompanyName]\[ExeName]_Url_[hash]\[version]\user.config. I need to get [hash] value from another application. According with MSDN, user.config path template is [c:\Documents and Settings]\[username]\[Local Settings]\Application Data\[companyname]\[appdomainname]_[eid]_[hash]\[version] where [hash] is SHA1 hash of evidence (in my case eid=Url). I noticed the following things: [hash] changes with application installation path