Click here to Skip to main content
15,889,804 members
Home / Discussions / C#
   

C#

 
AnswerRe: Make a faster search of folders Pin
Abhinav S28-Apr-15 17:38
Abhinav S28-Apr-15 17:38 
GeneralRe: Make a faster search of folders Pin
Eddy Vluggen28-Apr-15 23:13
professionalEddy Vluggen28-Apr-15 23:13 
GeneralRe: Make a faster search of folders Pin
Abhinav S28-Apr-15 23:24
Abhinav S28-Apr-15 23:24 
AnswerRe: Make a faster search of folders Pin
Pete O'Hanlon29-Apr-15 1:00
mvePete O'Hanlon29-Apr-15 1:00 
SuggestionRe: Make a faster search of folders Pin
Richard Deeming29-Apr-15 1:40
mveRichard Deeming29-Apr-15 1:40 
AnswerRe: Make a faster search of folders Pin
Richard Deeming29-Apr-15 1:35
mveRichard Deeming29-Apr-15 1:35 
AnswerRe: Make a faster search of folders Pin
V.29-Apr-15 2:50
professionalV.29-Apr-15 2:50 
Questionappend array of byte to other which contains '0' Pin
MrKBA28-Apr-15 6:20
MrKBA28-Apr-15 6:20 
I have this function which append an array of byte to an other array of bytes
but the problem appears when the source contains '\0'
this what I have :
C#
private void Aes_Strcat(sbyte[] a_pchResult, sbyte[] pchResult, int m_iBlockSize)
{
    int x = 0;
    while (a_pchResult[x] != 0)
    {
        x++;
    }

    Buffer.BlockCopy(pchResult, 0, a_pchResult, x, m_iBlockSize);
}

here when the a_pchResult contains for example { -10, 15,3,45,17,25,0,56,41,12,0,0,0,0,0,0}
and I want to add pchResult to it at the end (it means after the '12' element)
but as you say it will add it after '25' because it find the '0' before the end.

any idea how know the last position to add the new array at the end of source array if it contains '\0' element.
AnswerRe: append array of byte to other which contains '0' Pin
OriginalGriff28-Apr-15 6:27
mveOriginalGriff28-Apr-15 6:27 
Questiongf Pin
Member 1148462428-Apr-15 3:44
Member 1148462428-Apr-15 3:44 
AnswerRe: clear my liste of seaid that i got via this method on the uninstall of the application Pin
Abhinav S28-Apr-15 3:49
Abhinav S28-Apr-15 3:49 
General[REPOST] Pin
Sascha Lefèvre28-Apr-15 4:27
professionalSascha Lefèvre28-Apr-15 4:27 
GeneralMessage Closed Pin
28-Apr-15 4:31
Member 1148462428-Apr-15 4:31 
GeneralRe: [REPOST] Pin
Sascha Lefèvre28-Apr-15 4:37
professionalSascha Lefèvre28-Apr-15 4:37 
QuestionGetting string does not contains a definition for containskey error Pin
Member 1035510728-Apr-15 2:28
professionalMember 1035510728-Apr-15 2:28 
AnswerRe: Getting string does not contains a definition for containskey error Pin
Pete O'Hanlon28-Apr-15 3:25
mvePete O'Hanlon28-Apr-15 3:25 
GeneralRe: Getting string does not contains a definition for containskey error Pin
Member 1035510728-Apr-15 3:40
professionalMember 1035510728-Apr-15 3:40 
QuestionHow to connect to TURN Server in C# Pin
Member 1161266227-Apr-15 22:50
Member 1161266227-Apr-15 22:50 
AnswerRe: How to connect to TURN Server in C# Pin
Pete O'Hanlon27-Apr-15 23:04
mvePete O'Hanlon27-Apr-15 23:04 
GeneralRe: How to connect to TURN Server in C# Pin
Member 1161266227-Apr-15 23:25
Member 1161266227-Apr-15 23:25 
GeneralRe: How to connect to TURN Server in C# Pin
OriginalGriff27-Apr-15 23:30
mveOriginalGriff27-Apr-15 23:30 
GeneralRe: How to connect to TURN Server in C# Pin
Sascha Lefèvre27-Apr-15 23:33
professionalSascha Lefèvre27-Apr-15 23:33 
GeneralRe: How to connect to TURN Server in C# Pin
Member 1161266228-Apr-15 2:51
Member 1161266228-Apr-15 2:51 
GeneralRe: How to connect to TURN Server in C# Pin
Sascha Lefèvre28-Apr-15 3:41
professionalSascha Lefèvre28-Apr-15 3:41 
GeneralRe: How to connect to TURN Server in C# Pin
Member 1161266228-Apr-15 4:53
Member 1161266228-Apr-15 4:53 

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.