Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

C# code that can control audio and microphone level of another PC


  • Please log in to reply
3 replies to this topic

#1 Tooru_

Tooru_

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:10:40 PM

Posted 12 November 2013 - 08:53 PM

Hello,

My scenario is "Two PC have installed the same C# software that I created. With this software, they should see audio and microphone levels of each other and they can change both theirs and others".

I know how to manage Audio and mic level, but how can I control other pc when the same software is installed?

Thank you for your answers!



BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:40 AM

Posted 13 November 2013 - 07:49 AM

You need to write software that talks to your other software.



#3 JohnnyJammer

JohnnyJammer

  • Members
  • 1,120 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:QLD Australia
  • Local time:11:40 PM

Posted 14 November 2013 - 12:38 AM

Or use nircmd.exe file which is great for remotley executing code/scripts anythign really

Just copy the nircmd.exe file in the \\machinename\C$\Windows  directory and you are good to go.

 

Something like below should work mate.

Increase the system volume by 2000 units (out of 65535)    

wmic /node:"TargetMachine" process call create "\\Targetmachine\C$\Windows\nircmd.exe changesysvolume 2000"

Decrease the system volume by 5000 units (out of 65535)

wmic /node:"TargetMachine" process call create "\\Targetmachine\C$\Windows\nircmd.exe changesysvolume -5000"

 



#4 Romeo29

Romeo29

    Learning To Bleep


  • Members
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:08:40 AM

Posted 17 November 2013 - 10:54 PM

Look into the TcpListener and TcpClient classes.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users