SendMessage function User32.dll code example Example: user32.dll sendmessage c# [System.IO.Directory]::GetFiles("\\.\\pipe\\")