Home > Net >  C # how to obtain the content of the blob Url?
C # how to obtain the content of the blob Url?

Time:10-05

Known blob, as shown in the title: http://127.0.0.1/cee7a0b5-4fe8-454d-8784-16bd766ef802 this is a picture, and how to access the content inside?

CodePudding user response:

We have to do is direct download
 WebClient client=new WebClient (); 
String fileString=client. DownloadString (new uri (http://... )));

CodePudding user response:

Blob this browser actually generate their own, the address is not the video

CodePudding user response:

refer to the original poster sgxj360 response:
, as shown in the title known blob: http://127.0.0.1/cee7a0b5-4fe8-454d-8784-16bd766ef802 this is a picture, and how to access the content inside?

Is how to find a blob object, direct access to the object with the same method can obtain image content, if is base64 picture might want to deal with the header information or decoding,

CodePudding user response:

Didn't quite understand, blob is not binary, behind you with a url is what mean? And the url or not file extension, the insufficiency of hair? Or is this a MVC access path? If it is the MVC access path is according to the page to display elements to get ah, you ask is what ah, this file is 2 base stock, get you this path of resources and then into a base line 2

CodePudding user response:

reference 4 floor xl1070410812 response:
didn't quite understand, blob is not binary, behind you with a url is what mean? And the url or not file extension, the insufficiency of hair? Or is this a MVC access path? If it is the MVC access path is according to the page to display elements to get ah, you ask is what ah, this file is 2 base stock, get you this path of resources and then switch to 2 base line

Blob is can use js to generate a link address to use, why don't you check baidu this url?

CodePudding user response:

refer to the original poster sgxj360 response:
, as shown in the title known blob: http://127.0.0.1/cee7a0b5-4fe8-454d-8784-16bd766ef802 this is a picture, and how to access the content inside?


Url content is not available, you need to find the url generated position, direct access to a binary object,

CodePudding user response:

Blob is a binary stream, you need to find his address and then download the basis of more m3u8 basically

CodePudding user response:

Because most of this is used for streaming media in the majority,
  •  Tags:  
  • C#
  • Related