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. Managed C++/CLI
  4. LAN

LAN

Scheduled Pinned Locked Moved Managed C++/CLI
json
4 Posts 4 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.
  • H Offline
    H Offline
    hacker88
    wrote on last edited by
    #1

    ok, i need a line of code to turn off all computers on a LAN i have the rest of the code i just need that one line

    T M 2 Replies Last reply
    0
    • H hacker88

      ok, i need a line of code to turn off all computers on a LAN i have the rest of the code i just need that one line

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      for_each(Lan.getComputers(), TurnOff());

      one line... :-D

      C 1 Reply Last reply
      0
      • T toxcct

        for_each(Lan.getComputers(), TurnOff());

        one line... :-D

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        :laugh:

        1 Reply Last reply
        0
        • H hacker88

          ok, i need a line of code to turn off all computers on a LAN i have the rest of the code i just need that one line

          M Offline
          M Offline
          Michal Zalewski
          wrote on last edited by
          #4

          Try this (but this have a two lines :| for (i = 0; i < LANComputers.count; ++i) ShutDown(LANComputers); maybe take action! :laugh::laugh::laugh: ----------------------------------------------------------------- Surely without war there would be no loss Hence no mourning, no grief, no pain, no misery No sleepless nights missing the dead... Oh, no more No more war [Sleepless - Cradle of Filth]

          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