+ Post New Thread
Results 1 to 6 of 6
Coding Thread, Request for c# developers in Coding and Web Development; I am looking for help with an open source project that I have started. Which will enable PC to managed ...
  1. #1
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25

    Request for c# developers

    I am looking for help with an open source project that I have started. Which will enable PC to managed from a central PC without requiring a client running.

    Coding skills involved are c#,WMI, SQLite(Ado.net), XML, CHM help file integration.

    See this thread for further info.

    Project itself is currently hosted at Power Manager ?(SlimmerIT)?

    Any level of experience accepted, just starting to reallise that this project is getting too big to do myself in free time.

  2. #2

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,143
    Thank Post
    863
    Thanked 2,695 Times in 2,285 Posts
    Blog Entries
    9
    Rep Power
    772
    Looks interesting, would be interested in integrating some additional Vista/7 support with WinRM connections and possibly the WMI Batch command utility that I was messing with. Have you found a way to query the MAC addresses off the DHCP leases without being on the DHCP server itself? When I was looking all I could find were Windows API calls. Could also be fun to tack in support for the windows remote assistance technology which would allow for interactive sessions without the need for VNC to be installed.

  3. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    I may be in a position to help, but it's difficult to know without seeing the code.

  4. #4
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25
    Quote Originally Posted by SYNACK View Post
    Looks interesting, would be interested in integrating some additional Vista/7 support with WinRM connections and possibly the WMI Batch command utility that I was messing with. Have you found a way to query the MAC addresses off the DHCP leases without being on the DHCP server itself? When I was looking all I could find were Windows API calls. Could also be fun to tack in support for the windows remote assistance technology which would allow for interactive sessions without the need for VNC to be installed.
    Yes I have figured out a way to Win API working via interop to allow me to process data from a remote DHCP server.

    This is currently in an experimental software project awaiting integration. Getting this working was tough, on a par with remote screen shots! I hope to get this into the main project next week. The code queries all scopes on a server then enumerates the scopes on the server for active leases. But was pleasing todo as no pre made examples so is my own work

    Already worked out howto to get MACs via broadcast and wmi, but is no use if the PC is not turned on!

    We have a couple of Win 7 pcs at work so will look at getting this working with winRM.


    Will hopefully get the code uploaded this weekend, if anyone wants to play with initial binaries then please PM me.

  5. #5

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    all I could find were Windows API calls
    I don't think you overlooked anything.

    Yes I have figured out a way to Win API working via interop to allow me to process data from a remote DHCP server.
    I'd have said DhcpEnumSubnetClients() etc. from DHCPSAPI if you'd asked when I'd been paying attention. Was that what you you used? If so, using that from C# isn't something I'd label "trivial" - not surprised you feel a bit victorious.

    tack in support for the windows remote assistance technology
    I looked at doing that programmatically last year for an AD computer context menu extension and TBH it looked like a very serious pain. Luckily I only needed it to run from a 2008 DC so I did that extension with just a few lines of script which ultimately calls:

    msra.exe /offerra

    Not especially lovely because MRSA is clunky, but it was good enough for me. [Obviously also needs the right RA GPO settings applied to the workstations]
    Last edited by PiqueABoo; 4th June 2009 at 09:20 PM.

  6. #6
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25
    Quote Originally Posted by PiqueABoo View Post
    I don't think you overlooked anything.



    I'd have said DhcpEnumSubnetClients() etc. from DHCPSAPI if you'd asked when I'd been paying attention. Was that what you you used? If so, using that from C# isn't something I'd label "trivial" - not surprised you feel a bit victorious.



    I looked at doing that programmatically last year for an AD computer context menu extension and TBH it looked like a very serious pain. Luckily I only needed it to run from a 2008 DC so I did that extension with just a few lines of script which ultimately calls:

    msra.exe /offerra

    Not especially lovely because MRSA is clunky, but it was good enough for me. [Obviously also needs the right RA GPO settings applied to the workstations]
    Thanks for the feedback, yes I use DHCPSAPI for both DhcpEnumSubnets and DhcpEnumSubnetClients.

    I have written the app so that I run almost anything from right clicking against the item in that I just have to associate the computer name and two arguments to start a process so in your example i would just need one argument msra.exe .offera to start the process off This works for explorer, event viewer etc etc.

    I have been busy coding over weekend and expanding the SQLite/ADo.net integration. Currently only released binaries as an alpha here. Will be adding DHCP next. Will also get sourcecode uploaded to Sourceforge tonight with a bit of luck. Need to add documentation and comments to code, which is putting me off making it public, just yet!

    PS found this for xp clients connecting MS Remote Assistance.

    http://blog.netnerds.net/2006/12/ra-...te-assistance/
    Last edited by monkeyx; 8th June 2009 at 01:11 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. How did internal combustion developers manage?
    By laserblazer in forum General Chat
    Replies: 5
    Last Post: 13th February 2009, 06:38 AM
  2. .net developers
    By SpecialAgent in forum Educational IT Jobs
    Replies: 0
    Last Post: 15th November 2007, 01:51 PM
  3. EduGeek 2.0 Developers Wanted
    By Irazmus in forum General EduGeek News/Announcements
    Replies: 20
    Last Post: 19th July 2007, 04:48 PM
  4. Developers Wanted
    By russdev in forum Group Project
    Replies: 13
    Last Post: 28th February 2007, 12:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •