You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task<Image>imgDownload=Client.GetMessagePersonProfileImageAsync(new(){ImageUrl=new("https://foundations.projectpythia.org/_images/GitHub-logo.png")});// A Random non square GitHub image i found
Copy file name to clipboardExpand all lines: WebUntisAPI.Client/WebUntisClient.cs
+17-14Lines changed: 17 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -95,12 +95,12 @@ public DateTime SessionBegin
95
95
privatereadonlyHttpClient_client;
96
96
97
97
/// <summary>
98
-
/// Sesson id for json rpc requests
98
+
/// Session id for json rpc requests
99
99
/// </summary>
100
-
privatestring_sessonId;
100
+
privatestring_sessionId;
101
101
102
102
/// <summary>
103
-
/// The school name for the sesson
103
+
/// The school name for the session
104
104
/// </summary>
105
105
privatestring_schoolName;
106
106
@@ -132,9 +132,9 @@ public WebUntisClient(string clientName, TimeSpan timeout)
132
132
/// <param name="school">The school to login (Use only returned instances from <see cref="SchoolSearch.SearchAsync(string, string, CancellationToken)"/>)</param>
133
133
/// <param name="username">Name of the user to login</param>
134
134
/// <param name="password">Password of the user to login</param>
135
-
/// <param name="ct">Cancelationtoken</param>
135
+
/// <param name="ct">Cancelation Token</param>
136
136
/// <param name="id">Identifier for the request</param>
137
-
/// <returns><see langword="true"/> when the login was successfull. <see langword="false"/> when the <paramref name="username"/> or <paramref name="password"/> was invalid</returns>
137
+
/// <returns><see langword="true"/> when the login was successful. <see langword="false"/> when the <paramref name="username"/> or <paramref name="password"/> was invalid</returns>
138
138
/// <exception cref="ArgumentException">The server name is invalid</exception>
139
139
/// <exception cref="HttpRequestException">There was an error while the request</exception>
140
140
/// <exception cref="WebUntisException">The WebUntis server returned an error</exception>
/// <param name="loginName">School to login (Not the normal school name but the WebUntis internal one)</param>
153
153
/// <param name="username">Name of the user to login</param>
154
154
/// <param name="password">Password of the user to login</param>
155
-
/// <param name="ct">Cancelationtoken</param>
155
+
/// <param name="ct">Cancelation Token</param>
156
156
/// <param name="id">Identifier for the request</param>
157
-
/// <returns><see langword="true"/> when the login was successfull. <see langword="false"/> when the <paramref name="username"/> or <paramref name="password"/> was invalid</returns>
157
+
/// <returns><see langword="true"/> when the login was successful. <see langword="false"/> when the <paramref name="username"/> or <paramref name="password"/> was invalid</returns>
158
158
/// <exception cref="ArgumentException">The server name is invalid</exception>
159
159
/// <exception cref="HttpRequestException">There was an error while the request</exception>
160
160
/// <exception cref="WebUntisException">The WebUntis server returned an error</exception>
161
161
/// <exception cref="ObjectDisposedException">Thrown when the object is disposed</exception>
0 commit comments