locked
query wmi without delay RRS feed

  • Question

  • User-1379762086 posted

    I have this code below that gets the username of the current loggon user in a window service application but my problem is that it is too slow and sometime result to OUT OF MEMORY EXCEPTION. The code queries WMI, i want a way to make it faster or another code to get the current loggon username in a window application.

    Friday, February 21, 2014 2:30 AM

Answers

  • User-417640953 posted

    Hi abfrank,

    Thanks for your post.

    I'd like to suggest you posting the same issue in single thread.

    We will discuss this issue in below same thread you create.

    http://forums.asp.net/t/1969699.aspx

    Thanks.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 23, 2014 9:03 PM