User.Config文件位置路径 [英] User.Config File Location Path

查看:224
本文介绍了User.Config文件位置路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



Visual Studio如何在应用程序文件夹的名称中添加一串字符。

赞:

C:\Documents and Settings \User \ Local Settings \ Application Data \ CompanyName \ ApplicationName.exe_Url_ ktio5i2cghabox05avqkxu44kjlr4sum \1.0.0.0



如何将此字符串附加到路径中。???



谢谢



问候,

Itz.Irshad

Hi Guys,

How Visual Studio adds a string of characters in name of application folder.
Like:
C:\Documents and Settings\User\Local Settings\Application Data\CompanyName\ApplicationName.exe_Url_ktio5i2cghabox05avqkxu44kjlr4sum\1.0.0.0

How this string is attached in path.???

Thanks

Regards,
Itz.Irshad

推荐答案

该字符串是应用程序的哈希值。



请参见此处 [ ^ ]。
The string is the hash of the application.

See here[^].


Dim config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal)




MessageBox.Show(config.FilePath)


这篇关于User.Config文件位置路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆