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
H

Harkamal Singh

@Harkamal Singh
About
Posts
36
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • authenticate windows form using a cookie ?
    H Harkamal Singh

    Duh! Our intranet webserver intentionally provides a cookie for internal purposes and i wish to use this as windows authentication token, Wondering if this is possible.

    Before c# there was darkness

    Windows Forms csharp question

  • authenticate windows form using a cookie ?
    H Harkamal Singh

    Which work of yours are you talking about. Have you published any such solution ?

    Before c# there was darkness

    Windows Forms csharp question

  • authenticate windows form using a cookie ?
    H Harkamal Singh

    Hello. Is it possible to authenticate windows form using a cookie ? An application provides cookie, that i wish to use in my forms project to authenticate and use the credentials, basically looking impersonate using cookie. Really appreciate if someone can shed some light. Harry

    Before c# there was darkness

    Windows Forms csharp question

  • Creating remote process & StdOut
    H Harkamal Singh

    Oh I still could not find that link..could you please forward the remote process article. Thnaks! HK

    Before c# there was darkness

    C# csharp question

  • Creating remote process & StdOut
    H Harkamal Singh

    Is there a way to create pure C# remote processes and capture StdOut ? I am able to do this by calling PsExec.exe (from sysinternals) from Process class and capturing Stdout. I need an elegant way, Can Process class also create remote processes? Can System.ManagementObject call capture StdOut apart from creating remote processes? Thanks in anticipation HK

    Before c# there was darkness

    C# csharp question

  • Add/Remove Network Protocols
    H Harkamal Singh

    Yeh, should be a good starting point.

    Before c# there was darkness

    C# question csharp sysadmin help

  • Add/Remove Network Protocols
    H Harkamal Singh

    How can I programatically add/remove appletalk,ipx,tcp/ip protocols from network connection ? This is a regulatory requirement for our network to allow only certain protocols. Any help is god's grace h.

    Before c# there was darkness

    C# question csharp sysadmin help

  • Possibilities for 'Out of Memory Exception'
    H Harkamal Singh

    our application is .net oracle drive based and sometimes we get this error though 2GB RAM is lying free. In our case, we reset msdtc (specific to our environment).

    before c# there was darkness

    C# performance

  • Enumerate NT Group membership on remote computer
    H Harkamal Singh

    Hello there, The problem is that I need to connect with alternate credentials. All my servers have different password. WinNT provider by default uses pass-through authentication, which means takes your currently logged on priviledges to connect to remote computer. This works good if I have common password as I login using same passowrd. But that is very risky, a malicious code can then play aroumd. I am also trying to find out way to connect using alternate credentials, If you get to know first please post it :) By the way, there's option in directory entry class to specify user/password but in that case the output is blank, not sure why. Good day. h.

    before c# there was darkness

    C# csharp help question

  • Enumerate NT Group membership on remote computer
    H Harkamal Singh

    I need to enumerate members of Administrators group on all computers remotely. I should be able to specify computername, username & password. Has WMI got any class to enumerate group membership ? Also, has WinNT provider got capability to connect to remote machines with alternate credentials? Any code will be of great help. Thanks in anticiaptions. h.

    before c# there was darkness

    C# csharp help question

  • Differentiating the Computer uniquely
    H Harkamal Singh

    Win32_ComputerSystemProduct.UUID

    before c# there was darkness

    Hardware & Devices hardware question

  • License Key Generation
    H Harkamal Singh

    Well following are the licensing schemes: - Per Processor licensing - Per User licensing - Per Machine licensing (unlimited per machine) - One time license(for installations etc) You can ger Processor ID from Win32_Processor and MAC from Win32_NetworkAdapterConfiguration. A better approach would be to use Win32_ComputerSystemProduct.UUID for uniquely identifying a system and then enforce various licensing schemes

    before c# there was darkness

    C# hardware question

  • Registry Auditing and Permissions
    H Harkamal Singh

    Just wondering if it is possible to set the following using .Net 1.1 - Registry Auditing - Registry Permissioning - NTFS Auditing Any sample code will be of real help, thanks! h.

    before c# there was darkness

    C# csharp windows-admin help

  • Deserialization question
    H Harkamal Singh

    Sorry, I am a beginer, is there any article to understand serialization. Thanks, h.

    C# question xml json tutorial

  • Windows Mobile Applications
    H Harkamal Singh

    Sorry folks, any good forum for Windows Mobile Application development.

    C#

  • add application at startup
    H Harkamal Singh

    You can add path of your app to these registry keys, and those will be executed at computer startup... HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx Cheers, h.

    C#

  • How to select xmls nodes based on multiple filter criteria
    H Harkamal Singh

    Thanks Rocky.. xml.SelectSingleNode(@"/Licenses/License[@Att1='xx' and @Att2='xx'] works. Problem was with my syntax, i was enclosing each attribute within square braces. God bless.

    C# csharp xml tutorial

  • executing a .exe file on remote computer
    H Harkamal Singh

    lets have a look at the code as well ! you can have a look at the article for reference http://support.microsoft.com/default.aspx?scid=kb;en-us;827227[^]

    C# help

  • Retrieving the installed softwares in WMI [modified]
    H Harkamal Singh

    You can enumerate keys for path... HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall ..and then look for DisplayName, UninstallString and other values as suited. If you get to know a better way out please do let me know as well :) Cheers H.

    C# help question announcement

  • How to select xmls nodes based on multiple filter criteria
    H Harkamal Singh

    Sample XML ---------- C# Code (FAILS) --------------- XmlNodeList nodes = xml.SelectNodes(@"/Licenses/License[@HostName='host1'] and [@IPAddress='192.168.1.2' ]"); XmlNode node = xml.SelectSinglenode(@"/Licenses/License[@HostName='SIN520APP190'] and [@IPAddress='192.168.1.2' ]"); Basically I need to know how to select node(s) by applying filters on 2 or more attributes. It works with single attribute though. Thanks. h

    C# csharp xml tutorial
  • Login

  • Don't have an account? Register

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