How to export Transaction token to remote process

Unmanaged code:

Florin wrote sample on this topic

https://blogs.msdn.com/florinlazar/archive/2004/10/02/236965.aspx

Managed code:

#1 (.NET 2.0)

For this to work, of course, the following must be true:

  • Each of the parties must be addressable to the other.
  • Each of the parties must be able to send RPCs to the other

#2(.NET 3.0):

If you are using WCF,WCF can export transaction context information in the soap message,remote service can use this transaction context info and can join transaction