Hi dltaylor,
I am would like to get the path of the installed mdf file, the user name and computer name and create connection string on install?
- User name and computer name
You could use System.Environment Class - The path of the installed mdf file
You could check if the installation information has been written in windows registry, then follow this thread to exact it programmatically.
Best Regards, Dylan
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our *
*documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**