lionkor / publicip Goto Github PK
View Code? Open in Web Editor NEWA simple 30 line C# .exe which writes your current external / public IP address to the console.
A simple 30 line C# .exe which writes your current external / public IP address to the console.
Files included in "PublicIP.zip": /PublicIP.zip /PublicIP_x64 /PublicIP_x64.exe /ReadMe_x64.txt /PublicIP_x86 /PublicIP_x86.exe /ReadMe_x86.txt ReadMe - Created 12th July 2017 by Leed a.k.a. Lee'd / LeedOff Contents 1. Description 2. How to use 3. How it works 4. License information 5. Disclaimer 6. Contact 1. Description PublicIP is a small 30 liner to make the public / external IP address visible to the user. This can be achieved with other Command-line tools, but I just wanted to be able to use a memorizable command that anyone could use as if it was always there. There is no particular reason why it is a C# based .exe and not a simple .cmd or .bat other than " I don't want to support that horrible batch/cmd 'language' ". 2. How to use After choosing the correct version (x86 or x64), you should rename the file to "PublicIP.exe" (because that is how it was originally intended to be called). PublicIP is a Command-line based program. It needs to be run via the windows-command-line (cmd.exe). To run the program from cmd.exe, simply type the name of the file ("PublicIP" / "PublicIP_x64" / "PublicIP_x86"). Upper- and lower-case generally do not matter. 3. How it works PublicIP simply fetches a string from canihazip.com and writes it to the console. As simple as it gets. 4. License information Use it for whatever you want, as long as it's not commercial. 5. Disclaimer PublicIP is a lazy 30 line C# program, which will neither protect nor publish anything. It will need an internet connection in order to work, and it will only establish a connection to canihazip.com [5.196.192.222]. If it does anything else, please tell me (see "6. Contact") and stop using it, as you may have run into a damaged / infected version. If you download the program PublicIP_x86.exe / PublicIP_x64.exe from anywhere else than github.com/leedoff, it is your own responsibility to make sure that it is safe. If you're not sure about where you got the .exe from, delete it and download it from the repository. 6. Contact Email: [email protected] Twitter: @Leed_off Facebook: @Leed.Official
When copy&pasting the exe into System32, it denies to run.
Seems to be a .NET Framework issue.
If you do not experience the same problem, please inform me about your .NET Framework version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.