Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make an android phone does calls to people using vc#.net Pin
Gerry Schmitz13-Jun-18 7:42
mveGerry Schmitz13-Jun-18 7:42 
GeneralRe: How to make an android phone does calls to people using vc#.net Pin
Mohammad Abdullaha13-Jun-18 9:48
Mohammad Abdullaha13-Jun-18 9:48 
GeneralRe: How to make an android phone does calls to people using vc#.net Pin
Gerry Schmitz13-Jun-18 9:58
mveGerry Schmitz13-Jun-18 9:58 
Questionfutronic fs80 fingerprint scanner integrat with c# Pin
Member 1020390311-Jun-18 21:52
Member 1020390311-Jun-18 21:52 
AnswerRe: futronic fs80 fingerprint scanner integrat with c# Pin
Richard MacCutchan11-Jun-18 23:13
mveRichard MacCutchan11-Jun-18 23:13 
QuestionArray bytes convert to json when export pdf through webservice Pin
Nishant.Chauhan8010-Jun-18 21:01
Nishant.Chauhan8010-Jun-18 21:01 
QuestionRe: Array bytes convert to json when export pdf through webservice Pin
Richard MacCutchan10-Jun-18 22:20
mveRichard MacCutchan10-Jun-18 22:20 
AnswerRe: Array bytes convert to json when export pdf through webservice Pin
Nathan Minier11-Jun-18 2:23
professionalNathan Minier11-Jun-18 2:23 
You can't just send a byte array through JSON; you would need to serialize it first with something like:
C#
System.Text.Encoding.UTF8.GetString(byteArray);

But on the other side you would need a mechanism to convert from a UTF-8 string into a byte array.

You can also send it via BSON NuGet Gallery | Newtonsoft.Json.Bson 1.0.1 with the same caveat, but there is a JS library built for that by MongoDB at GitHub - mongodb/js-bson: BSON Parser for node and browser.

If none of that will work for you, you will need to sent the file raw with the proper headers for the file type.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

QuestionMultiple Loops Code Optimization Pin
Juanleroux10-Jun-18 16:31
Juanleroux10-Jun-18 16:31 
AnswerRe: Multiple Loops Code Optimization Pin
BillWoodruff10-Jun-18 17:58
professionalBillWoodruff10-Jun-18 17:58 
AnswerRe: Multiple Loops Code Optimization Pin
Luc Pattyn11-Jun-18 3:50
sitebuilderLuc Pattyn11-Jun-18 3:50 
Questionnice to know that a generic parameter of a function constrained to 'struct can .. Pin
BillWoodruff10-Jun-18 5:00
professionalBillWoodruff10-Jun-18 5:00 
AnswerRe: nice to know that a generic parameter of a function constrained to 'struct can .. Pin
Nathan Minier11-Jun-18 2:31
professionalNathan Minier11-Jun-18 2:31 
GeneralRe: nice to know that a generic parameter of a function constrained to 'struct can .. Pin
BillWoodruff11-Jun-18 5:33
professionalBillWoodruff11-Jun-18 5:33 
GeneralRe: nice to know that a generic parameter of a function constrained to 'struct can .. Pin
Nathan Minier13-Jun-18 8:21
professionalNathan Minier13-Jun-18 8:21 
QuestionDisplaying a grid of mixed controls from tabular data Pin Pin
Leif Simon Goodwin7-Jun-18 1:10
Leif Simon Goodwin7-Jun-18 1:10 
AnswerRe: Displaying a grid of mixed controls from tabular data Pin Pin
OriginalGriff7-Jun-18 1:19
mveOriginalGriff7-Jun-18 1:19 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
Leif Simon Goodwin7-Jun-18 1:36
Leif Simon Goodwin7-Jun-18 1:36 
RantRe: Displaying a grid of mixed controls from tabular data Pin Pin
Richard Deeming7-Jun-18 2:12
mveRichard Deeming7-Jun-18 2:12 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
OriginalGriff7-Jun-18 2:24
mveOriginalGriff7-Jun-18 2:24 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
Leif Simon Goodwin7-Jun-18 2:46
Leif Simon Goodwin7-Jun-18 2:46 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
Eddy Vluggen7-Jun-18 11:40
professionalEddy Vluggen7-Jun-18 11:40 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
Leif Simon Goodwin7-Jun-18 2:38
Leif Simon Goodwin7-Jun-18 2:38 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
Richard MacCutchan7-Jun-18 3:52
mveRichard MacCutchan7-Jun-18 3:52 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin Pin
Leif Simon Goodwin7-Jun-18 21:34
Leif Simon Goodwin7-Jun-18 21:34 

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.