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
afsal ks
NA
4
785
how to fetch com port details from cmd result
Jan 23 2020 11:19 AM
need code for only "COM8" into a string COM8 may be change according our com port change
private
void
button21_Click(
object
sender, EventArgs e)
{
try
{
edltext.Clear();
startInfo.FileName =
"emmcdl.exe"
;
startInfo.Arguments =
" -l"
;
process.StartInfo = startInfo;
process.Start();
edltext.Text = edltext.Text +
"\r\n"
+ process.StandardOutput.ReadToEnd();
}
catch
(Exception ex)
{
edltext.Text = (ex.Message);
}
Reply
Answers (
1
)
Problem inDropdown List From Database Table Using ASP.NET C#
I want to read .pmd file content and store in database