Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 215 Vote(s) - 3.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[opensource] DepositfilesSDK is a .Net library for Depositfiles.com file hosting serv

#1
DepositfilesSDK
Download

[To see links please register here]

NuGet:

[To see links please register here]

Help:

[To see links please register here]


Features
  • Assemblies for .NET 4.5.2 and .NET Standard 2.0 and .NET Core 2.1
  • Just one external reference (Newtonsoft.Json)
  • Easy installation using NuGet
  • Upload/Download tracking support
  • Proxy Support
  • Upload/Download cancellation support
List of functions:
  • GetToken
  • UserInfo
  • LockFile
  • UnlockMultipleFiles
  • UnlockFile
  • LockMultipleFiles
  • RemoteUploadMultiple
  • SearchFolder
  • MoveMultipleFiles
  • DeleteMultipleFolders
  • DeleteMultipleFiles
  • Search
  • GetDownloadToken
  • DeleteFile
  • RenameFile
  • MoveFile
  • DeleteFolderWithoutContains
  • RenameFolder
  • DeleteFolder
  • CreateNewFolder
  • List
  • ListFiles
  • ListFolders
  • Upload
  • RemoteUpload
CodeMap:
[Image: 687474703a2f2f7777772e6d6564696166697265...672e6a7067]

Code simple:

Quote:Dim cLENT As DepositfilesSDK.IClient = New DepositfilesSDK.DClient("username", "password", Nothing)

Await cLENT.UserInfo
Await cLENT.Root.CreateNewFolder("new folder")
Await cLENT.Root.ListFiles
Await cLENT.Root.ListFolders
Await cLENT.Root.SearchFiles("emy", SearchTypeEnum.Contains)

Await cLENT.Folders("folder_id").Delete
Await cLENT.Folders("folder_id").DeleteParentWithoutSubs
Await cLENT.Folders("folder_id").ListFiles
Await cLENT.Folders("folder_id").Rename("new name")
Await cLENT.Folders("folder_id").SearchFolder("emy", 0)
Dim cts As New Threading.CancellationTokenSource()
Dim _ReportCls As New Progress(Of DepositfilesSDK.ReportStatus)(Sub(ReportClass As DepositfilesSDK.ReportStatus) Console.WriteLine(String.Format("{0} - {1}% - {2}", String.Format("{0}/{1}", (ReportClass.BytesTransferred), (ReportClass.TotalBytes)), CInt(ReportClass.ProgressPercentage), ReportClass.TextStatus)))
Await cLENT.Folders("folder_id").Upload("c:\\myvid.mp4", UploadTypes.FilePath, "myvid.mp4", _ReportCls, cts.Token)
Await cLENT.Folders("folder_id").RemoteUpload(New Uri(""))
Await cLENT.Folders("folder_id").RemoteUploadMultiple(New String() {"", ""})

Await cLENT.Files("file_id").Delete
Await cLENT.Files(Nothing).DeleteMultiple(New String() {"file_id", "file_id"})
Await cLENT.Files("file_id").GetDownloadToken
Await cLENT.Files("file_id").GetThumb
Await cLENT.Files("file_id").Lock("12345")
Await cLENT.Files("file_id").Unlock
Await cLENT.Files("file_id").Move("folder_id")
Await cLENT.Files(Nothing).MoveMultiple(New String() {"file_id", "file_id"}, "folder_id")
Await cLENT.Files("file_id").Rename("new name")
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through