Browse Source

Login sample fully functional. Added all API URLs.

master
Claire 4 years ago
parent
commit
10c217c235
  1. BIN
      MatrixDotNetLib/.vs/MatrixDotNetLib/DesignTimeBuild/.dtbcache.v2
  2. BIN
      MatrixDotNetLib/.vs/MatrixDotNetLib/v16/.suo
  3. 11
      MatrixDotNetLib/MatrixDotNetCmd/Program.cs
  4. BIN
      MatrixDotNetLib/MatrixDotNetCmd/obj/Debug/netcoreapp3.1/MatrixDotNetCmd.assets.cache
  5. BIN
      MatrixDotNetLib/MatrixDotNetCmd/obj/Debug/netcoreapp3.1/MatrixDotNetCmd.csprojAssemblyReference.cache
  6. 6
      MatrixDotNetLib/MatrixDotNetCmd/obj/MatrixDotNetCmd.csproj.nuget.dgspec.json
  7. 43
      MatrixDotNetLib/MatrixDotNetCmd/obj/project.assets.json
  8. 6
      MatrixDotNetLib/MatrixDotNetCmd/obj/project.nuget.cache
  9. 132
      MatrixDotNetLib/MatrixDotNetLib/MatrixApis.cs
  10. 9
      MatrixDotNetLib/MatrixDotNetLib/MatrixClient.cs
  11. 4
      MatrixDotNetLib/MatrixDotNetLib/MatrixDotNetLib.csproj
  12. 28
      MatrixDotNetLib/MatrixDotNetLib/MatrixError.cs
  13. 14
      MatrixDotNetLib/MatrixDotNetLib/MatrixLoginFlows.cs
  14. 22
      MatrixDotNetLib/MatrixDotNetLib/MatrixLoginIdentifier.cs
  15. 49
      MatrixDotNetLib/MatrixDotNetLib/MatrixLoginRequest.cs
  16. 34
      MatrixDotNetLib/MatrixDotNetLib/MatrixLoginResponse.cs
  17. 13
      MatrixDotNetLib/MatrixDotNetLib/MatrixLoginType.cs
  18. 55
      MatrixDotNetLib/MatrixDotNetLib/MatrixSessionManager.cs
  19. 34
      MatrixDotNetLib/MatrixDotNetLib/MatrixUser.cs
  20. 13
      MatrixDotNetLib/MatrixDotNetLib/MatrixUserServer.cs
  21. 22
      MatrixDotNetLib/MatrixDotNetLib/MatrixUserServers.cs
  22. 18
      MatrixDotNetLib/MatrixDotNetLib/bin/Debug/netcoreapp3.1/MatrixDotNetLib.deps.json
  23. BIN
      MatrixDotNetLib/MatrixDotNetLib/bin/Debug/netcoreapp3.1/MatrixDotNetLib.dll
  24. BIN
      MatrixDotNetLib/MatrixDotNetLib/bin/Debug/netcoreapp3.1/MatrixDotNetLib.pdb
  25. BIN
      MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.assets.cache
  26. 2
      MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.csproj.CoreCompileInputs.cache
  27. 2
      MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.csproj.FileListAbsolute.txt
  28. BIN
      MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.csprojAssemblyReference.cache
  29. BIN
      MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.dll
  30. BIN
      MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.pdb
  31. 6
      MatrixDotNetLib/MatrixDotNetLib/obj/MatrixDotNetLib.csproj.nuget.dgspec.json
  32. 56
      MatrixDotNetLib/MatrixDotNetLib/obj/project.assets.json
  33. 6
      MatrixDotNetLib/MatrixDotNetLib/obj/project.nuget.cache

BIN
MatrixDotNetLib/.vs/MatrixDotNetLib/DesignTimeBuild/.dtbcache.v2

diff.bin_not_shown

BIN
MatrixDotNetLib/.vs/MatrixDotNetLib/v16/.suo

diff.bin_not_shown

11
MatrixDotNetLib/MatrixDotNetCmd/Program.cs

@ -1,4 +1,6 @@
using System;
using MatrixDotNetLib;
using Newtonsoft.Json;
namespace MatrixDotNetCmd
{
@ -6,7 +8,14 @@ namespace MatrixDotNetCmd
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("MatrixDotNetLib v0.1 - A .NET Core library for Matrix");
// let's just try a thing
MatrixSessionManager session = new MatrixSessionManager();
MatrixLoginResponse response = session.Login("post.hyrule.cc", "claire", "B52Lorelai");
Console.WriteLine(JsonConvert.SerializeObject(response));
}
}
}

BIN
MatrixDotNetLib/MatrixDotNetCmd/obj/Debug/netcoreapp3.1/MatrixDotNetCmd.assets.cache

diff.bin_not_shown

BIN
MatrixDotNetLib/MatrixDotNetCmd/obj/Debug/netcoreapp3.1/MatrixDotNetCmd.csprojAssemblyReference.cache

diff.bin_not_shown

6
MatrixDotNetLib/MatrixDotNetCmd/obj/MatrixDotNetCmd.csproj.nuget.dgspec.json

@ -93,6 +93,12 @@
},
"frameworks": {
"netcoreapp3.1": {
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.3, )"
}
},
"imports": [
"net461",
"net462",

43
MatrixDotNetLib/MatrixDotNetCmd/obj/project.assets.json

@ -2,9 +2,21 @@
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {
"Newtonsoft.Json/12.0.3": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
},
"MatrixDotNetLib/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v3.1",
"dependencies": {
"Newtonsoft.Json": "12.0.3"
},
"compile": {
"bin/placeholder/MatrixDotNetLib.dll": {}
},
@ -15,6 +27,37 @@
}
},
"libraries": {
"Newtonsoft.Json/12.0.3": {
"sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
"type": "package",
"path": "newtonsoft.json/12.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
"newtonsoft.json.12.0.3.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"MatrixDotNetLib/1.0.0": {
"type": "project",
"path": "../MatrixDotNetLib/MatrixDotNetLib.csproj",

6
MatrixDotNetLib/MatrixDotNetCmd/obj/project.nuget.cache

@ -1,8 +1,10 @@
{
"version": 2,
"dgSpecHash": "/And0b5Fmn9KmvRqoYIwpU+aYPZ3tOpcWNW71la94v+grVFCDobR3JbJQwG/7g1BRYhNza7okd7X7+ntHOryfw==",
"dgSpecHash": "8K9QsUKHtNC7PQ873ayC0GHP0lzCog8MTKCNWMZpyzUOnHRnzzR9zoCKZj29McVjauf8VButj3vnkK+05EZTuA==",
"success": true,
"projectFilePath": "D:\\Source\\MatrixDotNetLib\\MatrixDotNetLib\\MatrixDotNetCmd\\MatrixDotNetCmd.csproj",
"expectedPackageFiles": [],
"expectedPackageFiles": [
"C:\\Users\\Claire\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512"
],
"logs": []
}

132
MatrixDotNetLib/MatrixDotNetLib/MatrixApis.cs

@ -0,0 +1,132 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixApis
{
public static Dictionary<string, string> Server = new Dictionary<string, string>()
{
{ "discovery", "/.well-known/matrix/client" },
{ "versions", "/_matrix/client/versions" },
{ "capabilities", "/_matrix/client/r0/capabilities" },
{ "whois", "/_matrix/client/r0/admin/whois/{uid}" },
{ "search", "/_matrix/client/r0/search" },
{ "usersearch", "/_matrix/client/r0/user_directory/search" },
{ "roomlist", "/_matrix/client/r0/publicRooms" },
{ "managerooms", "/_matrix/client/r0/directory/list/appservice/{networkId}/{roomId}" },
{ "upgraderoom", "/_matrix/client/r0/rooms/{roomId}/upgrade" },
{ "openid", "/_matrix/client/r0/user/{userId}/openid/request_token" },
{ "voip", "/_matrix/client/r0/voip/turnServer" }
};
public static Dictionary<string, string> Key = new Dictionary<string, string>()
{
{ "latest", "/_matrix/client/r0/keys/changes" },
{ "claim", "/_matrix/client/r0/keys/claim" },
{ "download", "/_matrix/client/r0/keys/query" },
{ "upload", "/_matrix/client/r0/keys/upload" }
};
public static Dictionary<string, string> Device = new Dictionary<string, string>()
{
{ "manage", "/_matrix/client/r0/devices" },
{ "multidelete", "/_matrix/client/r0/delete_devices" },
{ "send", "/_matrix/client/r0/sendToDevice/{eventType}/{txnId}" }
};
public static Dictionary<string, string> Media = new Dictionary<string, string>()
{
{ "config", "/_matrix/media/r0/config" },
{ "save", "/_matrix/media/r0/download/{serverName}/{mediaId}" },
{ "saveas", "/_matrix/media/r0/download/{serverName}/{mediaId}/{fileName}" },
{ "preview", "/_matrix/media/r0/preview_url" },
{ "thumb", "/_matrix/media/r0/thumbnail/{serverName}/{mediaId}" },
{ "upload", "/_matrix/media/r0/upload" }
};
public static Dictionary<string, string> Notifier = new Dictionary<string, string>()
{
{ "notifiers", "/_matrix/client/r0/notifications" },
{ "pushers", "/_matrix/client/r0/pushers" },
{ "set", "/_matrix/client/r0/pushers/set" },
{ "rules", "/_matrix/client/r0/pushrules/" }
};
public static Dictionary<string, string> NotifierRule = new Dictionary<string, string>()
{
{ "manage", "/_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}" },
{ "actions", "/_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions" },
{ "toggle", "/_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled" }
};
public static Dictionary<string, string> User = new Dictionary<string, string>()
{
{ "thirdparty", "/_matrix/client/r0/account/3pid" },
{ "deactivate", "/_matrix/client/r0/account/deactivate" },
{ "password", "/_matrix/client/r0/account/password" },
{ "register", "/_matrix/client/r0/register" },
{ "whoami", "/_matrix/client/r0/account/whoami" },
{ "profile", "/_matrix/client/r0/profile/{userId}" },
{ "avatar", "/_matrix/client/r0/profile/{userId}/avtatar_url" },
{ "displayname", "/_matrix/client/r0/profile/{userId}/displayname" },
{ "extrainfo", "/_matrix/client/r0/user/{userId}/account_data/{type}" },
{ "eventfilter", "/_matrix/client/r0/user/{userId}/filter" },
{ "rooms", "/_matrix/client/r0/joined_rooms" },
{ "login", "/_matrix/client/r0/login" },
{ "logout", "/_matrix/client/r0/logout" },
{ "status", "/_matrix/client/r0/presence/{userId}/status" }
};
public static Dictionary<string, string> UserRoom = new Dictionary<string, string>()
{
{ "extrainfo", "/_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}" },
{ "tags", "/_matrix/client/r0/user/{userId}/rooms/{roomId}/tags" }
};
public static Dictionary<string, string> Room = new Dictionary<string, string>()
{
{ "create", "/_matrix/client/r0/createRoom" },
{ "aliases", "/_matrix/client/r0/rooms/{roomId}/aliases" },
{ "active", "/_matrix/client/r0/rooms/{roomId}/joined_members" },
{ "members", "/_matrix/client/r0/rooms/{roomId}/members" },
{ "messages", "/_matrix/client/r0/rooms/{roomId}/messages" },
{ "join", "/_matrix/client/r0/join/{roomIdOrAlias}" },
{ "ban", "/_matrix/client/r0/rooms/{roomId}/ban" },
{ "forget", "/_matrix/client/r0/rooms/{roomId}/forget" },
{ "invite", "/_matrix/client/r0/rooms/{roomId}/invite" },
{ "idjoin", "/_matrix/client/r0/rooms/{roomId}/join" },
{ "kick", "/_matrix/client/r0/rooms/{roomId}/kick" },
{ "leave", "/_matrix/client/r0/rooms/{roomId}/leave" },
{ "unban", "/_matrix/client/r0/rooms/{roomId}/unban" },
{ "marker", "/_matrix/client/r0/rooms/{roomId}/read_markers" }
};
public static Dictionary<string, string> RoomEvent = new Dictionary<string, string>()
{
{ "context", "/_matrix/client/r0/rooms/{roomId}/context/{eventId}" },
{ "event", "/_matrix/client/r0/rooms/{roomId}/event/{eventId}" },
{ "receipt", "/_matrix/client/r0/rooms/{roomId}/receipt/{receiptType}/{eventId}" },
{ "redact", "/_matrix/client/r0/rooms/{roomId}/redact/{eventId}/{txnId}" },
{ "send", "/_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}" },
{ "typing", "/_matrix/client/r0/rooms/{roomId}/typing/{userId}" },
{ "flag", "/_matrix/client/r0/rooms/{roomId}/report/{eventId}" }
};
public static Dictionary<string, string> RoomState = new Dictionary<string, string>()
{
{ "list", "/_matrix/client/r0/rooms/{roomId}/state" },
{ "state", "/_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}" }
};
}
class HotDamn
{
public void testfunc()
{
// the avatar
string Avatar = MatrixApis.User["avatar"];
}
}
}

9
MatrixDotNetLib/MatrixDotNetLib/MatrixClient.cs

@ -1,9 +0,0 @@
using System;
namespace MatrixDotNetLib
{
public class MatrixClient
{
}
}

4
MatrixDotNetLib/MatrixDotNetLib/MatrixDotNetLib.csproj

@ -4,4 +4,8 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
</Project>

28
MatrixDotNetLib/MatrixDotNetLib/MatrixError.cs

@ -0,0 +1,28 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixError
{
/// <summary>
/// Gets or sets the error code (required)
/// </summary>
[JsonProperty("errcode")]
public string ErrorCode { get; set; }
/// <summary>
/// Gets or sets the friendly error message (optional)
/// </summary>
[JsonProperty("error")]
public string ErrorMessage { get; set; }
/// <summary>
/// Gets or sets the delay in milliseconds (optional)
/// </summary>
[JsonProperty("retry_after_ms")]
public Int32 RetryDelay { get; set; }
}
}

14
MatrixDotNetLib/MatrixDotNetLib/MatrixLoginFlows.cs

@ -0,0 +1,14 @@
using Newtonsoft.Json;
using System;
namespace MatrixDotNetLib
{
public class MatrixLoginFlows
{
/// <summary>
/// Gets or sets the array of available login types
/// </summary>
[JsonProperty("flows")]
public MatrixLoginType[] LoginFlows { get; set; }
}
}

22
MatrixDotNetLib/MatrixDotNetLib/MatrixLoginIdentifier.cs

@ -0,0 +1,22 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixLoginIdentifier
{
/// <summary>
/// Gets or sets the login identifier type (required)
/// </summary>
[JsonProperty("type")]
public string IdType { get; set; }
/// <summary>
/// Gets or sets the username (required if IdType is m.id.user)
/// </summary>
[JsonProperty("user")]
public string User { get; set; }
}
}

49
MatrixDotNetLib/MatrixDotNetLib/MatrixLoginRequest.cs

@ -0,0 +1,49 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixLoginRequest
{
/// <summary>
/// Gets or sets the client device ID (optional, auto-generated if null)
/// </summary>
[JsonProperty("device_id")]
public string DeviceId { get; set; }
/// <summary>
/// Gets or sets user identifier as string (optional)
/// </summary>
[JsonProperty("identifier")]
public MatrixLoginIdentifier Identifier { get; set; }
/// <summary>
/// Gets or sets the device display name (optional, ignored if device is known)
/// </summary>
[JsonProperty("initial_device_display_name")]
public string DeviceName { get; set; }
/// <summary>
/// Gets or sets the password (required if type=m.login.password)
/// </summary>
[JsonProperty("password")]
public string Password { get; set; }
/// <summary>
/// Gets or sets the login token (required if type=m.login.token)
/// </summary>
[JsonProperty("token")]
public string Token { get; set; }
/// <summary>
/// Sets the static dictionary of login types (required)
/// </summary>
[JsonProperty("type")]
public string LoginType { get; set; }
}
}

34
MatrixDotNetLib/MatrixDotNetLib/MatrixLoginResponse.cs

@ -0,0 +1,34 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixLoginResponse
{
/// <summary>
/// Gets or sets the access token (optional)
/// </summary>
[JsonProperty("access_token")]
public string Token { get; set; }
/// <summary>
/// Gets or sets the device ID (optional)
/// </summary>
[JsonProperty("device_id")]
public string DeviceId { get; set; }
/// <summary>
/// Gets or sets the user ID (optional)
/// </summary>
[JsonProperty("user_id")]
public string UserId { get; set; }
/// <summary>
/// Gets or sets client configuration (optional)
/// </summary>
[JsonProperty("well_known")]
public MatrixUserServers KnownServers { get; set; }
}
}

13
MatrixDotNetLib/MatrixDotNetLib/MatrixLoginType.cs

@ -0,0 +1,13 @@
using Newtonsoft.Json;
namespace MatrixDotNetLib
{
public class MatrixLoginType
{
/// <summary>
/// Gets or sets the login type
/// </summary>
[JsonProperty("type")]
public string LoginType { get; set; }
}
}

55
MatrixDotNetLib/MatrixDotNetLib/MatrixSessionManager.cs

@ -0,0 +1,55 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;
namespace MatrixDotNetLib
{
public class MatrixSessionManager
{
public MatrixLoginResponse Login(string server, string user, string pass, string device = "")
{
MatrixLoginIdentifier userId = new MatrixLoginIdentifier()
{
IdType = "m.id.user",
User = user
};
MatrixLoginRequest theRequest = new MatrixLoginRequest()
{
Password = pass,
Identifier = userId,
LoginType = "m.login.password"
};
if (device.Length > 0)
{
theRequest.DeviceId = device;
}
// create a web request
string loginUrl = "https://" + server + MatrixApis.User["login"];
// serialize object into JSON
string requestJson = JsonConvert.SerializeObject(theRequest);
HttpContent requestContent = new StringContent(requestJson, Encoding.UTF8, "application/json");
HttpClient client = new HttpClient();
client.BaseAddress = new Uri(loginUrl);
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
HttpResponseMessage responseMessage = client.PostAsync(loginUrl, requestContent).Result;
string responseString = responseMessage.Content.ReadAsStringAsync().Result;
MatrixLoginResponse response = JsonConvert.DeserializeObject<MatrixLoginResponse>(responseString);
return response;
}
}
}

34
MatrixDotNetLib/MatrixDotNetLib/MatrixUser.cs

@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace MatrixDotNetLib
{
public class MatrixUser
{
/// <summary>
/// Gets or sets user id as a string
/// </summary>
[JsonProperty("user_id")]
public string userid { get; set; }
/// <summary>
/// Gets or sets access token as a string
/// </summary>
[JsonProperty("access_token")]
public string token { get; set; }
/// <summary>
/// Gets or sets home server as string
/// </summary>
[JsonProperty("home_server")]
public string server { get; set; }
/// <summary>
/// Gets or sets device id as string (optional)
/// </summary>
[JsonProperty("device_id")]
public string deviceid { get; set; }
}
}

13
MatrixDotNetLib/MatrixDotNetLib/MatrixUserServer.cs

@ -0,0 +1,13 @@
using Newtonsoft.Json;
namespace MatrixDotNetLib
{
public class MatrixUserServer
{
/// <summary>
/// Gets or sets the server URL
/// </summary>
[JsonProperty("base_url")]
public string BaseUrl { get; set; }
}
}

22
MatrixDotNetLib/MatrixDotNetLib/MatrixUserServers.cs

@ -0,0 +1,22 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixUserServers
{
/// <summary>
/// Gets or sets the home server
/// </summary>
[JsonProperty("m.homeserver")]
public MatrixUserServer HomeServer { get; set; }
/// <summary>
/// Gets or sets the identity server
/// </summary>
[JsonProperty("m.identity_server")]
public MatrixUserServer IdentityServer { get; set; }
}
}

18
MatrixDotNetLib/MatrixDotNetLib/bin/Debug/netcoreapp3.1/MatrixDotNetLib.deps.json

@ -7,9 +7,20 @@
"targets": {
".NETCoreApp,Version=v3.1": {
"MatrixDotNetLib/1.0.0": {
"dependencies": {
"Newtonsoft.Json": "12.0.3"
},
"runtime": {
"MatrixDotNetLib.dll": {}
}
},
"Newtonsoft.Json/12.0.3": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.3.23909"
}
}
}
}
},
@ -18,6 +29,13 @@
"type": "project",
"serviceable": false,
"sha512": ""
},
"Newtonsoft.Json/12.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
"path": "newtonsoft.json/12.0.3",
"hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
}
}
}

BIN
MatrixDotNetLib/MatrixDotNetLib/bin/Debug/netcoreapp3.1/MatrixDotNetLib.dll

diff.bin_not_shown

BIN
MatrixDotNetLib/MatrixDotNetLib/bin/Debug/netcoreapp3.1/MatrixDotNetLib.pdb

diff.bin_not_shown

BIN
MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.assets.cache

diff.bin_not_shown

2
MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.csproj.CoreCompileInputs.cache

@ -1 +1 @@
bebfa3bded4fe686bd663f099492d7164d88fe28
f16bca70409c8e2ae88277b1bedf2f151bb03767

2
MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.csproj.FileListAbsolute.txt

@ -2,8 +2,8 @@ D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\bin\Debug\netcoreapp3.
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\bin\Debug\netcoreapp3.1\MatrixDotNetLib.dll
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\bin\Debug\netcoreapp3.1\MatrixDotNetLib.pdb
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.csprojAssemblyReference.cache
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.csproj.CoreCompileInputs.cache
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.AssemblyInfoInputs.cache
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.AssemblyInfo.cs
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.dll
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.pdb
D:\Source\MatrixDotNetLib\MatrixDotNetLib\MatrixDotNetLib\obj\Debug\netcoreapp3.1\MatrixDotNetLib.csproj.CoreCompileInputs.cache

BIN
MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.csprojAssemblyReference.cache

diff.bin_not_shown

BIN
MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.dll

diff.bin_not_shown

BIN
MatrixDotNetLib/MatrixDotNetLib/obj/Debug/netcoreapp3.1/MatrixDotNetLib.pdb

diff.bin_not_shown

6
MatrixDotNetLib/MatrixDotNetLib/obj/MatrixDotNetLib.csproj.nuget.dgspec.json

@ -37,6 +37,12 @@
},
"frameworks": {
"netcoreapp3.1": {
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.3, )"
}
},
"imports": [
"net461",
"net462",

56
MatrixDotNetLib/MatrixDotNetLib/obj/project.assets.json

@ -1,11 +1,55 @@
{
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {}
".NETCoreApp,Version=v3.1": {
"Newtonsoft.Json/12.0.3": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
}
}
},
"libraries": {
"Newtonsoft.Json/12.0.3": {
"sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
"type": "package",
"path": "newtonsoft.json/12.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
"newtonsoft.json.12.0.3.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
}
},
"libraries": {},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": []
".NETCoreApp,Version=v3.1": [
"Newtonsoft.Json >= 12.0.3"
]
},
"packageFolders": {
"C:\\Users\\Claire\\.nuget\\packages\\": {}
@ -43,6 +87,12 @@
},
"frameworks": {
"netcoreapp3.1": {
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.3, )"
}
},
"imports": [
"net461",
"net462",

6
MatrixDotNetLib/MatrixDotNetLib/obj/project.nuget.cache

@ -1,8 +1,10 @@
{
"version": 2,
"dgSpecHash": "6v622xy25DE5lRrEgpsiWk2YtQjIi38nbMXINLdc/3QnYXSe1ti2zp/2q7CTNPT3u+UJEjyWV0GE4lClJkOjXg==",
"dgSpecHash": "HSqSJqUuJZSv4YceApWKKSok/vyC24dgbjbsKNopZt2t8ILlKoApuI5ZMQ2Wm+AKO8PAKuY9eeR4/hEyKBtJIg==",
"success": true,
"projectFilePath": "D:\\Source\\MatrixDotNetLib\\MatrixDotNetLib\\MatrixDotNetLib\\MatrixDotNetLib.csproj",
"expectedPackageFiles": [],
"expectedPackageFiles": [
"C:\\Users\\Claire\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512"
],
"logs": []
}
Loading…
Cancel
Save