Reading MSDTC configuration
Does anyone have any ideas on how to read the MSDTC configuration on the current machine? I am specifically trying to check if the user has followed these steps:
-
Open Component Management (Start> All Programs> Administrative Tools> Component Services)
-
Double-click Component Services, then Computers. Right click on My Computer and select Properties
-
On the MSDTC tab, click the Security Configuration button and configure the properties as follows:
-
DTC Network Access: Tested
-
Allow Remote Clients: Checked
-
Allow Incoming: Verified
-
Allow outgoing: checked
-
Incoming Caller Authentication Required: Selected
This is part of a small component that I need to write to validate the end user configuration. I donβt think Iβll try to fix it if it was wrong: just specify the user in the help file - so read-only is needed.
source to share
You can use COM + administration classes / interfaces for this. This will require COM interoperability on your part though.
The link is at:
http://msdn.microsoft.com/en-us/library/ms681189(VS.85).aspx
source to share