I am trying to use the following code: ethernet.UseDHCP(); but Visual studio does not recognize the class “Ethernet”. I have included the following:
using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Touch;
using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
using Gadgeteer.Modules.GHIElectronics;
using Microsoft.SPOT.Net.NetworkInformation;
Thanks Both. I am using the Fez Cerberus connecting the Ethernet ENC28 module. I did forget to add the Ethernet module to the designer but when trying to drag it from the toolbox it gives me the message “The module could not be added” - A required library could not be found". It shows the module in the toolbox as "Ethernet_ENC28 Premium). Any idea?