-
-
Notifications
You must be signed in to change notification settings - Fork 361
How I made ChatGPT to write a working method in NET C to disable enabled ethernet cards
Full tutorial link > https://www.youtube.com/watch?v=Bq9KUc4NnwE
This was a request from one of my students. It took me few try to get it work.
#dotnet #csharp #chatgpt
thumbnail: freepik - macrovector
-
00:00:00 One of my students asked me to how he can disable his ethernet card with C# code.
-
00:00:05 So I have asked it to ChatGPT as you can see here. It has provided me an answer but it wasn't
-
00:00:12 working. So I said that and ni doesn't have disable method. So it generated another
-
00:00:19 answer for me as can be seen here and then I have said that what is the using for
-
00:00:26 INetworkLinkLayerInfo? It was missing in the references. Then it has given me an answer but it
-
00:00:34 was still missing in System.Net.NetworkInformation. So I asked again and finally the ChatGPT has
-
00:00:42 fixed its all errors and provided the correct answer as can be seen here. This is how you can
-
00:00:50 utilize ChatGPT to improve the output of the code that it provides. Thank you for watching.
