15,885,216 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by NoorKaximi (Top 25 by date)
NoorKaximi
19-Feb-17 15:47pm
View
try
{
ManagementObjectSearcher searcher =
new ManagementObjectSearcher("root\\StandardCimv2",
"SELECT * FROM MSFT_NetAdapter");
foreach (ManagementObject queryObj in searcher.Get())
{
Console.WriteLine("-----------------------------------");
Console.WriteLine("Name: {0}", queryObj["Name"]);
Console.WriteLine("PromiscuousMode: {0}", queryObj["PromiscuousMode"]);
}
}
catch (ManagementException e)
{
MessageBox.Show("An error occurred while querying for WMI data: " + e.Message);
}
I tried the above code but it is not working it return promiscuous mode false although i have enabled it using wireshark. Wireshark show promiscuous mode is enabled but wmi query return false for promiscuous mode
NoorKaximi
19-Feb-17 7:04am
View
I have deleted extra codes.
It is the main function through which i am trying to achieve my goal.
NoorKaximi
19-Feb-17 6:55am
View
i don't think making it cyclic will work...
NoorKaximi
19-Feb-17 6:48am
View
Kindly provide me complete code...
NoorKaximi
19-Feb-17 6:48am
View
i just want to check whether promiscuous mode is enabled or not on my PC.
NoorKaximi
19-Feb-17 6:41am
View
In computer networking, promiscuous mode (often shortened to "promisc mode" or "promisc. mode") is a mode for a wired network interface controller (NIC) or wireless network interface controller (WNIC) that causes the controller to pass all traffic it receives to the central processing unit (CPU) rather than passing only the frames that the controller is intended to receive.
NoorKaximi
19-Feb-17 6:31am
View
i don't need MAC Address
I want to detect the promiscuous mode of network interface. Kindly read complete question.
NoorKaximi
27-Nov-16 11:10am
View
Thank you very it really helped me.
NoorKaximi
27-Dec-14 6:31am
View
how can i attach the db file to the server on client's computer .
NoorKaximi
28-Jul-14 16:16pm
View
can you explain with example??
NoorKaximi
12-Apr-14 14:35pm
View
if you don't want to answer it then kindly neglect it rather than passing comments on it..
NoorKaximi
12-Apr-14 14:35pm
View
if you don't want to answer it then kindly neglect it rather than passing comments on it..
NoorKaximi
12-Apr-14 14:35pm
View
if you don't want to answer it then kindly neglect it rather than passing comments on it..
NoorKaximi
12-Apr-14 14:33pm
View
its not my homework ok...i am just trying to do this but i can't thats why i posted this here...
NoorKaximi
23-Mar-14 16:38pm
View
no
NoorKaximi
24-Feb-14 14:19pm
View
Dev c++
NoorKaximi
21-Feb-14 16:28pm
View
try this link
https://developers.facebook.com/docs/reference/apis/
NoorKaximi
10-Aug-13 14:29pm
View
the code used in above project is difficult to understand because there are many useless codes in it.
I need simple codes for it.
NoorKaximi
10-Aug-13 14:14pm
View
i need codes to change the date time picker into hijri date time picker...
NoorKaximi
10-Aug-13 6:15am
View
i Tried these codes but it doesn't work
private void textBox1_TextChanged(object sender, EventArgs e)
{
treeView1.SelectedNode = GetNodeByText(treeView1.Nodes,txtsearch.Text);
}
private TreeNode GetNodeByText(TreeNodeCollection nodes, string searchtext)
{
TreeNode n_found_node = null;
bool b_node_found = false;
foreach (TreeNode node in nodes)
{
if (node.Text == searchtext)
{
b_node_found = true;
n_found_node = node;
return n_found_node;
}
if (!b_node_found)
{
n_found_node = GetNodeByText(node.Nodes, searchtext);
if (n_found_node != null)
{
return n_found_node;
}
}
}
return null;
}
NoorKaximi
10-Aug-13 6:05am
View
I am using c# not visual basic
submit codes for c#
NoorKaximi
10-Aug-13 5:41am
View
i haven't tried anything yet..
NoorKaximi
9-Aug-13 12:24pm
View
i m working on database software not on any website.....
NoorKaximi
9-Aug-13 12:16pm
View
What is the solution for error in 2nd code?
NoorKaximi
9-Aug-13 12:13pm
View
What is the solution for 2nd code error?
Show More