User Profile

Collapse

Profile Sidebar

Collapse
sakthikumarb
sakthikumarb
Last Activity: Nov 12 '08, 10:56 AM
Joined: Sep 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sakthikumarb
    replied to Calling VB 6.0 Function from C# .Net
    in .NET
    Please check this link which talks about the "Refresh" method. It Updates information. http://msdn.microsoft. com/en-us/library/aa392091(VS.85) .aspx

    When I use the DLL with DLLImport, how and where to specify the public functions/objects that I want to use....
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Calling VB 6.0 Function from C# .Net
    in .NET
    Thanks for your reply.

    I think there is no Refresh method in C#.Net like SWbemRefresher. Refresh . Do you know any equivalent method for that in C#.Net to refresh the Objects.
    to make use of Refresh method I am calling vb 6.0 method in C#.Net.
    I Tried with DllImport also, It is giving the error "entry point not found" in vb 6.0 dll . If you have any solution for this, please provide that s...
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Calling VB 6.0 Function from C# .Net
    in .NET
    Post Cont...


    When I run the C#.NET application getting the exception
    An unhandled exception of type 'System.Runtime .InteropService s.COMException' occurred in HandleCountSamp le.exe
    Additional information: Exception from HRESULT: 0x80041003.

    what is the solution of this error.
    I observed that This line is giving exception
    Set objRefreshableI tem = objRefresher.Ad dEnum(objServic esCimv2,...
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    started a topic Calling VB 6.0 Function from C# .Net
    in .NET

    Calling VB 6.0 Function from C# .Net

    Hello All,
    I am having vb 6.0 ActiveX dll contains one method
    Code:
    Public Function GetHandleCount() As String
    Set objRefresher = CreateObject("WbemScripting.SWbemRefresher")
    Set objServicesCimv2 = GetObject("winmgmts:\\" _
        & "." & "\root\cimv2")
    Set objRefreshableItem = objRefresher.AddEnum(objServicesCimv2, "Win32_PerfFormattedData_PerfProc_Process")
    ...
    See more | Go to post

  • but these methods are not implemented right......
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    started a topic Remote Desktop LogonType
    in .NET

    Remote Desktop LogonType

    Hi..
    In win32_LogonSess ion Class in Wmi.
    http://msdn.microsoft. com/en-us/library/aa394189.aspx

    for Logon Type parameter value is 10 then user logged in as RemoteInteracti ve
    http://www.windowsecur ity.com/articles/Logon-Types.html

    But when ever connected by system using Remote desktop..the Logon type value is not changing ..it always returning some 5 values like 2,3,3,5,11..

    What...
    See more | Go to post

  • Enable or disable a specific USB port on remote system

    Hi..

    In local system, under universal serial bus controllers in Device manager.We can enable and disable the particular USB port.

    How can we do the enable and disable the particular USB port in remote system? there is any WMI mechanism ?( means any win32 class is there to change enable and disable property of a particular USB port)

    if there is no wmi mechanism.. how can we achieve the same?
    ...
    See more | Go to post

  • sakthikumarb
    replied to Event for Remote desktop Connection
    in .NET
    Ya..we can get the log for console or RDP... but eventcode = 682 says
    "A user has reconnected to a disconnected terminal server session."
    http://technet.microso ft.com/en-us/library/cc787567.aspx
    so, if we connect to the system at very first time..we can't say event code = 682....more over ..session name we can see in event viewer...how can we get the session name using win32 class .......
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Event for Remote desktop Connection
    in .NET
    Check this link..here they saying how to enable the audit log events...
    After you enable.. if You make a RDP connection then security events will their in event viewer in the system where RDP connection is made ..

    http://technet.microso ft.com/en-us/library/cc787567.aspx...
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Event for Remote desktop Connection
    in .NET
    sorry..i didn't able to find the win32_SessionLo gin class..in google also i can't able to get documentation for this class..can u tell me under which namespace it present..or any documentation regarding this class..




    In security logs you can find the information...b efore that you need to enable the audit log events in local security settings ..to get security events.....
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Event for Remote desktop Connection
    in .NET
    Hi Plater..
    i searched win32_LogonSess ion class..but i'm not getting logn type = 10.. instead i'm getting value as 2,3,5 and 11...but logontype = 10 is displayed in security logs......
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Event for Remote desktop Connection
    in .NET
    cont...My question is ..

    * If i see the security log through Event viewer ..I'm able to see the log with logontype = 10 .i need to retrive the same information through WMI..
    * So, i connect to the system using wmi and access the win32_NTLogEven t class ...i'm getting the log but there is not parameter to retrieve logon type...If i retrive the 'message' parameter value ...logon type is coming along with other information...
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    replied to Event for Remote desktop Connection
    in .NET
    some forums says..to know RDP connection is made through remote desktop or using rdp protocol..enabl e the Audit logon events in local security settings.

    http://windowsitpro.com/article/arti...n-type-10.html

    ...then whenever connection is made we will get security log with Logon type = 10..If logon Type is 10 the user logged as RemoteInteracti ve ..

    http://www.w...
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    started a topic Event for Remote desktop Connection
    in .NET

    Event for Remote desktop Connection

    Hi ,

    I need to monitor for Remote desktop connection is made for a particular host.
    There is any WMI event ?.if not how can monitor for remote desktop connection..
    (Basically i need to generate a event from remote host that connection is made by xxx user ...)

    Thanks in advance..

    -Sakthi
    See more | Go to post

  • sakthikumarb
    started a topic Problem in RegistryKeyChangeEvent
    in .NET

    Problem in RegistryKeyChangeEvent

    Hi,

    during Registry key change event ,if i give wrong keypath .it saying invalid query.if i give existing keypath then code is executing correctly ...

    my doubt is ,how the event registration is happening in case of Registry key change.
    why it saying invalid query in case of wrong input to the keypath.eventho ugh the keypath should accept a string ..any reference to the same..
    Code:
    strQuery...
    See more | Go to post

  • sakthikumarb
    replied to Wmi Event for Denial of Service attack
    in .NET
    sorry, i'm not asking wmi event lead to a denial of service attack....my query is..if denial of service happen in some system..then how can i notify (by sending events) to my server..that "dos" is happen in host on this port.... there is any wmi or non-wmi mechanism available......
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    started a topic Wmi Event for Denial of Service attack
    in .NET

    Wmi Event for Denial of Service attack

    Hi,

    There is any wmi event for deniel of service attack.if not,there is any other procedure to get a event for Denial of Service attack .

    Thanks in advance,

    Regards,
    Sakthi
    See more | Go to post

  • hi dirtbag.. from the code you posted ...i'll get the last bootup time after i connected to the particular host ..but i need to generate a event from remote host after boot up.....
    See more | Go to post

    Leave a comment:


  • sakthikumarb
    started a topic Wmi event when the remote Host is booting up
    in .NET

    Wmi event when the remote Host is booting up

    Hi,

    How can i get event for remote host is booting up,there is any wmi mechanism for the same.if not,what is the other procedure to get a event for remote host bootup/startup time .

    Thanks in advance,

    Regards,
    Sakthi
    See more | Go to post
No activity results to display
Show More
Working...