EeNiArT
EeNiArT

Reputation: 70

How DropNet returning metadata for root folder of dropox is where Is_Dir type is false

What is the path of root folder?

I tried

var metaData = client.GetMetaData(Request.Data.XName, null, false); 

<b>Xname</b> is a <u>path for folder</u> which files we want to load.

My question is that waht is the root path of folder to load his files.

Upvotes: 0

Views: 49

Answers (1)

Greg
Greg

Reputation: 16930

The DropNet library uses API v1, which is deprecated and being retired soon. You should migrate to API v2. There's an official Dropbox API v2 .NET SDK you can use.

For reference though, on API v1, the root path is identified by a slash: "/".

On API v2, the root path is identified by the empty string "". (Though non-root paths do still need a leading "/".)

Upvotes: 1

Related Questions