最北端で暮らすSEのknowhow

人生の最終目標は気ままな老後生活

C#でユーザー設定ファイル(user.config)の場所を取得


「System.configuration」を参照する必要がある。

ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal).FilePath;