Click here to Skip to main content
15,902,840 members
Home / Discussions / C#
   

C#

 
QuestionWhat is the alternative to memcpy in C#? Pin
Abdulaziz M Zaben10-May-10 4:17
Abdulaziz M Zaben10-May-10 4:17 
AnswerRe: What is the alternative to memcpy in C#? Pin
Matt U.10-May-10 4:41
Matt U.10-May-10 4:41 
AnswerRe: What is the alternative to memcpy in C#? Pin
Peace ON10-May-10 4:41
Peace ON10-May-10 4:41 
AnswerRe: What is the alternative to memcpy in C#? Pin
Abdulaziz M Zaben10-May-10 4:56
Abdulaziz M Zaben10-May-10 4:56 
QuestionHow to work on Mobile Banking(SMS Banking)? Pin
CoderForEver10-May-10 2:40
CoderForEver10-May-10 2:40 
AnswerRe: How to work on Mobile Banking(SMS Banking)? Pin
Michel Godfroid10-May-10 3:59
Michel Godfroid10-May-10 3:59 
AnswerRe: How to work on Mobile Banking(SMS Banking)? Pin
CoderForEver10-May-10 4:18
CoderForEver10-May-10 4:18 
GeneralRe: How to work on Mobile Banking(SMS Banking)? Pin
Michel Godfroid10-May-10 5:10
Michel Godfroid10-May-10 5:10 
CoderForEver wrote:
to have a central server is unimaginable


Well, you still need it for clearing the transaction, and for verifying the transaction exists Smile | :)

This was the whole argument for keeping 'cheques': A cheque was a difficult to duplicate, uniquely numbered piece of paper. As long as central servers were not practical, they provided a clearing mechanism which was based on physical evidence. As soon as the evidence is electronic, and by definition allows copying without data loss, clearing HAS to be done through a central server.

Your system of picking pieces of strings from various bits of information is well-known by old programmers like myself. It was used for example by tour-operators to check the validity of voucher claims entered by hotels and transportation companies. But it was not fail-safe. We used it because the paying departments didn't have access to online terminals, and still had to dispatch payments. (Waiting for the weekly batch processing was not an option). It is a typical example of security by obscurity, which is a bad practice nowadays. (In those days, most people had never heard of a computer, much less had access to one, so it didn't matter so much.)
It also provides an opportunity for key collision. Once your encryption algorithm starts omitting data from the key or the data, it becomes a hashing algorithm, and cannot guarantee uniqueness any more.

Do telephone operators sell pre-paid rechargeable cards in your country? I suppose they do.
Well here if you want to recharge your phone, you go to local phone shop, and you buy credit from an operator. The cashier punches in the amount, and the cash register requests a 13-digit number from the operator network. This is then printed on your receipt. And this is the number you send to your mobile operator to claim the credit on your phone. Your phone is then topped up, and the transaction is cleared.
This is a typical example of an easily duplicated piece of evidence, which can still be only used once. It ALWAYS requires a central server. Breaking it is impossible, because it is impossible to guess a valid, active transaction number.

Sending a message back to the parents? Sure why not, but how long are you going to wait before sending a no-claim message? and will this no-claim message cancel the transaction?
GeneralRe: How to work on Mobile Banking(SMS Banking)? Pin
CoderForEver10-May-10 7:24
CoderForEver10-May-10 7:24 
GeneralRe: How to work on Mobile Banking(SMS Banking)? Pin
Michel Godfroid10-May-10 11:15
Michel Godfroid10-May-10 11:15 
GeneralRe: How to work on Mobile Banking(SMS Banking)? Pin
CoderForEver20-May-10 7:38
CoderForEver20-May-10 7:38 
QuestionDataGridView and Deleting Rows Pin
Member 368144310-May-10 2:09
Member 368144310-May-10 2:09 
AnswerRe: DataGridView and Deleting Rows Pin
Heinzzy10-May-10 2:25
Heinzzy10-May-10 2:25 
AnswerRe: DataGridView and Deleting Rows Pin
Luc Pattyn10-May-10 2:32
sitebuilderLuc Pattyn10-May-10 2:32 
Questionsort by Pin
tanzeel8510-May-10 2:02
tanzeel8510-May-10 2:02 
AnswerRe: sort by Pin
Henry Minute10-May-10 5:27
Henry Minute10-May-10 5:27 
GeneralRe: sort by Pin
tanzeel8513-May-10 1:11
tanzeel8513-May-10 1:11 
AnswerRe: sort by Pin
Peace ON10-May-10 20:12
Peace ON10-May-10 20:12 
Questionreturn type error "not all code paths return a value" Pin
wjbjnr10-May-10 0:42
wjbjnr10-May-10 0:42 
AnswerRe: return type error "not all code paths return a value" Pin
nagendrathecoder10-May-10 0:53
nagendrathecoder10-May-10 0:53 
AnswerRe: return type error "not all code paths return a value" [modified] Pin
Pete O'Hanlon10-May-10 0:57
mvePete O'Hanlon10-May-10 0:57 
QuestionRe: return type error "not all code paths return a value" Pin
wjbjnr10-May-10 4:31
wjbjnr10-May-10 4:31 
AnswerRe: return type error "not all code paths return a value" Pin
Alan N10-May-10 5:38
Alan N10-May-10 5:38 
AnswerRe: return type error "not all code paths return a value" Pin
Som Shekhar10-May-10 1:02
Som Shekhar10-May-10 1:02 
QuestionRe: return type error "not all code paths return a value" Pin
wjbjnr10-May-10 5:25
wjbjnr10-May-10 5:25 

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.