Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   1256

HOW CAN I DO THIS IN C#?

by Planet - 20 December, 2020 - 08:18 PM
This post is by a banned member (Planet) - Unhide
Planet  
Heaven
2.529
Posts
829
Threads
5 Years of service
#1
Basically I wanna create a post request that sends pc name, ip and number of cpu cores to a discord webhook when x program is executed if anyone knows how to do it let me know

thanks in advance
This post is by a banned member (asthyx) - Unhide
asthyx  
Godlike
1.666
Posts
219
Threads
4 Years of service
#2
(This post was last modified: 24 December, 2020 - 06:23 PM by asthyx.)
Hello.

Sorry for the late response but probably better than nothing.
This is the code I use, it works fluently https://pastebin.com/mxPLx957
I´ve created it in Forms which is not necessary, it works in console also.

Edit: You also need this class https://pastebin.com/gRw4kpvF

Hope this helps, if there are any questions, hmu.

Discord: SNØW#1999

Merry Christmas! 
[Image: VJUSHg3.gif]
This post is by a banned member (Planet) - Unhide
Planet  
Heaven
2.529
Posts
829
Threads
5 Years of service
#3
(24 December, 2020 - 06:22 PM)cheesyy1337 Wrote: Show More
Hello.

Sorry for the late response but probably better than nothing.
This is the code I use, it works fluently https://pastebin.com/mxPLx957
I´ve created it in Forms which is not necessary, it works in console also.

Edit: You also need this class https://pastebin.com/gRw4kpvF

Hope this helps, if there are any questions, hmu.

Discord: SNØW#1999

Merry Christmas! 

thanks dude

Merry Christmas to you too
This post is by a banned member (asthyx) - Unhide
asthyx  
Godlike
1.666
Posts
219
Threads
4 Years of service
#4
(24 December, 2020 - 06:26 PM)Planet Wrote: Show More
(24 December, 2020 - 06:22 PM)cheesyy1337 Wrote: Show More
Hello.

Sorry for the late response but probably better than nothing.
This is the code I use, it works fluently https://pastebin.com/mxPLx957
I´ve created it in Forms which is not necessary, it works in console also.

Edit: You also need this class https://pastebin.com/gRw4kpvF

Hope this helps, if there are any questions, hmu.

Discord: SNØW#1999

Merry Christmas! 

thanks dude

Merry Christmas to you too

Sure, love to help! Contact me if you need anything again :)
[Image: VJUSHg3.gif]

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: