How to choose which IP Address you connect from

When a PC has multiple IP Addresses, sometimes people would like to specify one of them to be used for connecting out to other DICOM AEs. This can be easily achieved in the .NET

Specifying outgoing IP when making a DICOM connection

It is possible to choose which outgoing interface to use when making an outgoing DICOM association using code such as below: