TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jonas.pfoh
NA
5
0
trouble with IPAddress class
Feb 25 2005 10:57 AM
I am ripping my hair out on this one. The constructor for this class accepts an argument of byte[]: public IPAddress(byte[]); It will not accept a byte array. Even if I do the following it throws an exception. //assume ipa is an instance of IPAddress byte[] a = ipa.GetAddressBytes(); ipa = new IPAddress(a); It throws an exception, i have tried manually creating a byte array with 1,2,3,4,and 5 elements. They all cause an exception. It compiles fine, no arguments until you reach this point at runtime and it throws an exception. Please help! -pfoh
Reply
Answers (
5
)
Assembly.GetExecutingAssembly.GetName().Name vs Application.ExecutablePath
ANOTHER QUESTION!!! Reading command line parameters