Click here to Skip to main content
15,915,600 members
Home / Discussions / C#
   

C#

 
QuestionRe: Problem inserting row in Access db with TableAdapter in C# Pin
Edward Hoad6-Oct-08 11:37
Edward Hoad6-Oct-08 11:37 
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 12:15
Pedram Behroozi6-Oct-08 12:15 
AnswerRe: Problem inserting row in Access db with TableAdapter in C# Pin
Edward Hoad6-Oct-08 12:20
Edward Hoad6-Oct-08 12:20 
GeneralRe: Problem inserting row in Access db with TableAdapter in C# Pin
Pedram Behroozi6-Oct-08 12:45
Pedram Behroozi6-Oct-08 12:45 
QuestionGetting installed application version numbers in C# Pin
Matt Fishbeck6-Oct-08 6:07
Matt Fishbeck6-Oct-08 6:07 
QuestionProblems updating datagridview to datasource Pin
Richard Blythe6-Oct-08 5:40
Richard Blythe6-Oct-08 5:40 
QuestionRe: Problems updating datagridview to datasource Pin
nelsonpaixao6-Oct-08 13:16
nelsonpaixao6-Oct-08 13:16 
AnswerRe: Problems updating datagridview to datasource Pin
Richard Blythe6-Oct-08 16:16
Richard Blythe6-Oct-08 16:16 
GeneralRe: Problems updating datagridview to datasource Pin
nelsonpaixao7-Oct-08 12:22
nelsonpaixao7-Oct-08 12:22 
GeneralRe: Problems updating datagridview to datasource Pin
Richard Blythe7-Oct-08 16:13
Richard Blythe7-Oct-08 16:13 
GeneralRe: Problems updating datagridview to datasource Pin
nelsonpaixao8-Oct-08 13:31
nelsonpaixao8-Oct-08 13:31 
QuestionHow to seal a namespace Pin
Member 30621766-Oct-08 5:11
Member 30621766-Oct-08 5:11 
AnswerRe: How to seal a namespace Pin
Mark Churchill6-Oct-08 5:26
Mark Churchill6-Oct-08 5:26 
GeneralRe: How to seal a namespace Pin
Member 30621766-Oct-08 5:41
Member 30621766-Oct-08 5:41 
GeneralRe: How to seal a namespace Pin
Scott Dorman6-Oct-08 6:01
professionalScott Dorman6-Oct-08 6:01 
AnswerRe: How to seal a namespace Pin
S. Senthil Kumar6-Oct-08 6:00
S. Senthil Kumar6-Oct-08 6:00 
AnswerRe: How to seal a namespace Pin
Scott Dorman6-Oct-08 6:06
professionalScott Dorman6-Oct-08 6:06 
QuestionUnit Testing in VSTS 2008 [modified] Pin
new2pgrmg6-Oct-08 4:32
new2pgrmg6-Oct-08 4:32 
Questionhow to run external applications in c# Pin
abiniyam6-Oct-08 3:57
abiniyam6-Oct-08 3:57 
AnswerRe: how to run external applications in c# Pin
Pete O'Hanlon6-Oct-08 4:05
mvePete O'Hanlon6-Oct-08 4:05 
AnswerRe: how to run external applications in c# Pin
Wes Aday6-Oct-08 4:10
professionalWes Aday6-Oct-08 4:10 
Questionhow to run exterrnal applications in c# Pin
abiniyam6-Oct-08 3:57
abiniyam6-Oct-08 3:57 
AnswerRe: how to run exterrnal applications in c# Pin
leppie6-Oct-08 4:07
leppie6-Oct-08 4:07 
GeneralRe: how to run exterrnal applications in c# Pin
Pete O'Hanlon6-Oct-08 4:50
mvePete O'Hanlon6-Oct-08 4:50 
QuestionReplicating Perl's unpack functionality in C# Pin
JohnGGG6-Oct-08 3:19
JohnGGG6-Oct-08 3:19 
Hi,

I am trying to recreate a perl script in C# but have a problem creating a checksum value that a target system needs.

In Perl this checksum is calculated using the unpack function:

while (<package>) {
$checksum += unpack("%32C*", $_);
}
$checksum %= 32767;
close(PACKAGE);
}

where PACKAGE is the .tar file input stream

I need to replicate this in C# but can't find a means of replicating that unpack function.

All help appreciated!

(I know there are much better checksum calculations available but can't change target system so can't change calculation)

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.