Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
QuestionHelp with UAC Issue Pin
Jammer16-Dec-10 8:15
Jammer16-Dec-10 8:15 
AnswerRe: Help with UAC Issue Pin
Jammer17-Dec-10 9:39
Jammer17-Dec-10 9:39 
Questionset url file Pin
ali_heidari_16-Dec-10 3:24
ali_heidari_16-Dec-10 3:24 
AnswerRe: set url file Pin
Hari Om Prakash Sharma16-Dec-10 3:53
Hari Om Prakash Sharma16-Dec-10 3:53 
QuestionI am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Honeyboy_2016-Dec-10 2:56
Honeyboy_2016-Dec-10 2:56 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Thomas Krojer16-Dec-10 3:03
Thomas Krojer16-Dec-10 3:03 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Hari Om Prakash Sharma16-Dec-10 3:19
Hari Om Prakash Sharma16-Dec-10 3:19 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? [modified] Pin
Hari Om Prakash Sharma16-Dec-10 3:36
Hari Om Prakash Sharma16-Dec-10 3:36 
Honeyboy_20 wrote:
I want to Read All bytes

FileStream fs = File.OpenRead(filename);
byte[] data = new byte[fs.Length];
fs.Read (data, 0, data.Length)


Honeyboy_20 wrote:
if Number of Byte equal to 256 I will go to Nested loop to Read 16 byte from previous 256 byte


byte[] set256=new byte[256];
int p=0;

for(int i=0;i < data.Length;i++)
{
set256[p++]=data[i]; //fill data into 256 Byte set
if(p==256)
{    
    byte[] set16=new byte[16];
    int k=0;
    for(int j=0;j < 256;j++)
    {
        set16[k++]=set256[j]; // data into 16 Byte set
        if(k==16)
        {
             //your 16 Byte set
             //convert set16 into readable information (Info)
             k=0;
        }
    }
    p=0;
}
}


First and the Foremost: FIGHT TO WIN

modified on Thursday, December 16, 2010 10:35 AM

GeneralRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Luc Pattyn16-Dec-10 4:17
sitebuilderLuc Pattyn16-Dec-10 4:17 
GeneralRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Hari Om Prakash Sharma16-Dec-10 4:29
Hari Om Prakash Sharma16-Dec-10 4:29 
AnswerRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Luc Pattyn16-Dec-10 5:13
sitebuilderLuc Pattyn16-Dec-10 5:13 
GeneralRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Hari Om Prakash Sharma16-Dec-10 5:16
Hari Om Prakash Sharma16-Dec-10 5:16 
GeneralRe: I am read File and I want to get information from each 256 byte and from each 256 byte ? Pin
Vern Ma16-Dec-10 16:12
Vern Ma16-Dec-10 16:12 
QuestionCrystal Reports Page Header Problem Pin
Muneeb Abdul Shakoor16-Dec-10 2:42
Muneeb Abdul Shakoor16-Dec-10 2:42 
AnswerRe: Crystal Reports Page Header Problem Pin
FunkySteve16-Dec-10 2:49
FunkySteve16-Dec-10 2:49 
GeneralRe: Crystal Reports Page Header Problem Pin
Muneeb Abdul Shakoor16-Dec-10 3:03
Muneeb Abdul Shakoor16-Dec-10 3:03 
QuestionWeb browser in asp.net Pin
abbd16-Dec-10 0:07
abbd16-Dec-10 0:07 
AnswerRe: Web browser in asp.net Pin
Hiren solanki16-Dec-10 0:35
Hiren solanki16-Dec-10 0:35 
AnswerRe: Web browser in asp.net Pin
RaviRanjanKr16-Dec-10 1:46
professionalRaviRanjanKr16-Dec-10 1:46 
AnswerRe: Web browser in asp.net Pin
Not Active16-Dec-10 2:19
mentorNot Active16-Dec-10 2:19 
Questionsolution for reading Belgian eID's Pin
Eli Nurman15-Dec-10 23:53
Eli Nurman15-Dec-10 23:53 
AnswerRe: solution for reading Belgian eID's Pin
OriginalGriff16-Dec-10 0:49
mveOriginalGriff16-Dec-10 0:49 
GeneralRe: solution for reading Belgian eID's Pin
Eli Nurman16-Dec-10 1:03
Eli Nurman16-Dec-10 1:03 
QuestionCreating Bitmap with external pixel data in byte[] array GC problem Pin
Chesnokov Yuriy15-Dec-10 21:01
professionalChesnokov Yuriy15-Dec-10 21:01 
AnswerRe: Creating Bitmap with external pixel data in byte[] array GC problem Pin
OriginalGriff15-Dec-10 21:38
mveOriginalGriff15-Dec-10 21:38 

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.