Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Getting information about remote COM client

Getting information about remote COM client

Scheduled Pinned Locked Moved COM
comsysadminlinuxquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bash
    wrote on last edited by
    #1

    Hi Gurus! I've written COM-server (executable, out-of-process) and COM-client. Both works successfully through DCOM on separate PCs. Is it possible to obtain information about calling client in COM-server (I want to know computer’s name and its IP address, username who launch the COM-client) ? How? Yours sincerely, Alex Bash

    A 1 Reply Last reply
    0
    • B Bash

      Hi Gurus! I've written COM-server (executable, out-of-process) and COM-client. Both works successfully through DCOM on separate PCs. Is it possible to obtain information about calling client in COM-server (I want to know computer’s name and its IP address, username who launch the COM-client) ? How? Yours sincerely, Alex Bash

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Check out CoQueryClientBlanket and IServerSecurity interface. That should give you some info about the client if impersonation level is higher than RPC_C_IMP_LEVEL_IDENTIFY Edward

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups