Acccording to documentation from AutoCAD’s .NET reference, they are overriding the Using Statement, but not Dispose(). How is this even possible?

Quote from documentation here. If you make changes to an object after you opened it with the Open method, you can use the Cancel method to rollback all the changes made since it was opened. Cancel must be called on each object in which you want to rollback. Objects must also be properly disposed of […]

Setting all active IPV6 interfaces to DHCP

Hi guys! I need a script to run against a bunch of servers. I imagine it’d use Get-NetIPInterface – AddressFamily IPv6, filter by interfaces using “ethernet*” in the name that are enabled, then Set-NetIPInterface [interface-name] -DHCP Enabled. Something like this? ​ $IPType = “IPv6” $adapter = Get-NetAdapter | ? {$_.Status -eq “up”} $interface = $adapter […]

RESTful API access made simple with RestHttpClient! (x-post from /r/csharp)

Hi there. I’ve just uploaded my new lib which makes REST access with C# really simple. It extends System.Net.HttpClient and doesn’t hide any functionality of it. For more info, check out package info on Nuget and GitHub: https://www.nuget.org/packages/RestHttpClient/ https://github.com/yanpaulo/RestHttpClient Would you please give me some thoughts about it? Comparisons with other existing libs like RESTSharp […]

Could use a hand with a program. Understand the concept, but unable to put create a specific program (N00B level programming)

I am learning VB, and have been tasked with creating what I would assume is a fairly basic program with the following requirements: Create a program that will have both a “for statement” and an “if statement”. The program will: read 2 numbers from the input screen and decide which is the bigger of the […]

RESTful API access made simple with RestHttpClient!

Hi there. I’ve just uploaded my new lib which makes REST access with C# really simple. It extends System.Net.HttpClient and doesn’t hide any functionality of it. For more info, check out package info on Nuget and GitHub: https://www.nuget.org/packages/RestHttpClient/ https://github.com/yanpaulo/RestHttpClient ​ Would you please give me some thoughts about it? Comparisons with other existing libs like […]