Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
QuestionComposition implementation in C# Pin
Member 883921917-Jan-13 3:23
Member 883921917-Jan-13 3:23 
QuestionRe: Composition implementation in C# Pin
Eddy Vluggen17-Jan-13 3:30
professionalEddy Vluggen17-Jan-13 3:30 
QuestionImplementation of Encapsulation & inheritance in c# Pin
Member 883921917-Jan-13 2:55
Member 883921917-Jan-13 2:55 
AnswerRe: Implementation of Encapsulation & inheritance in c# Pin
Pete O'Hanlon17-Jan-13 3:02
mvePete O'Hanlon17-Jan-13 3:02 
Questionhow to send sms in windows application? Pin
kiran murkal16-Jan-13 23:57
kiran murkal16-Jan-13 23:57 
AnswerRe: how to send sms in windows application? Pin
Pete O'Hanlon17-Jan-13 0:10
mvePete O'Hanlon17-Jan-13 0:10 
AnswerRe: how to send sms in windows application? Pin
Simon_Whale17-Jan-13 0:10
Simon_Whale17-Jan-13 0:10 
QuestionI need a help Pin
Bire50t16-Jan-13 21:25
Bire50t16-Jan-13 21:25 
Can anyone help me on this:

I was trying to access my IP camera and used the following code


string sourceURL = "ipaddress";
byte[] buffer = new byte[100000];
int read, total = 0;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(sourceURL);
req.Credentials = new NetworkCredential("username","password");
WebResponse resp = req.GetResponse();
Stream stream = resp.GetResponseStream();
while ((read = stream.Read(buffer, total, 1000)) != 0)
{
total += read;
}
Bitmap bmp = (Bitmap)Bitmap.FromStream(
new MemoryStream(buffer, 0, total));

at last, i want to display the video on a panel on windows form application and i have no idea how? please help!

thanks! Smile | :)
SuggestionRe: I need a help Pin
Eddy Vluggen17-Jan-13 0:32
professionalEddy Vluggen17-Jan-13 0:32 
GeneralRe: I need a help Pin
Pete O'Hanlon17-Jan-13 1:03
mvePete O'Hanlon17-Jan-13 1:03 
GeneralRe: I need a help Pin
Bire50t17-Jan-13 19:18
Bire50t17-Jan-13 19:18 
AnswerRe: I need a help Pin
Eddy Vluggen18-Jan-13 1:19
professionalEddy Vluggen18-Jan-13 1:19 
GeneralRe: I need a help Pin
Bire50t17-Jan-13 19:21
Bire50t17-Jan-13 19:21 
QuestionHi Pin
Bire50t16-Jan-13 21:19
Bire50t16-Jan-13 21:19 
SuggestionRe: Hi Pin
Richard MacCutchan16-Jan-13 23:38
mveRichard MacCutchan16-Jan-13 23:38 
GeneralRe: Hi Pin
Bire50t17-Jan-13 19:26
Bire50t17-Jan-13 19:26 
GeneralRe: Hi Pin
Richard MacCutchan17-Jan-13 22:56
mveRichard MacCutchan17-Jan-13 22:56 
Questionneed a help Pin
helibell16-Jan-13 20:22
helibell16-Jan-13 20:22 
AnswerRe: need a help Pin
dan!sh 16-Jan-13 20:26
professional dan!sh 16-Jan-13 20:26 
QuestionRe: need a help Pin
helibell16-Jan-13 20:35
helibell16-Jan-13 20:35 
AnswerRe: need a help Pin
dan!sh 16-Jan-13 20:47
professional dan!sh 16-Jan-13 20:47 
QuestionRe: need a help Pin
helibell16-Jan-13 21:08
helibell16-Jan-13 21:08 
AnswerRe: need a help Pin
Bire50t16-Jan-13 21:57
Bire50t16-Jan-13 21:57 
QuestionC# use linq for on filename Pin
dcof16-Jan-13 19:24
dcof16-Jan-13 19:24 
AnswerRe: C# use linq for on filename Pin
dan!sh 16-Jan-13 20:08
professional dan!sh 16-Jan-13 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.