Skip to content

Commit 2719b7e

Browse files
authored
Merge pull request #107200 from rezazein/patch-1
Fixed C# naming convention violation
2 parents 2bbd1a6 + 6eecad7 commit 2719b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/iot-hub/iot-hub-dev-guide-sas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ using System.Net.Http;
151151
using System.Security.Cryptography;
152152
using System.Text;
153153

154-
public static string generateSasToken(string resourceUri, string key, string policyName, int expiryInSeconds = 3600)
154+
public static string GenerateSasToken(string resourceUri, string key, string policyName, int expiryInSeconds = 3600)
155155
{
156156
TimeSpan fromEpochStart = DateTime.UtcNow - new DateTime(1970, 1, 1);
157157
string expiry = Convert.ToString((int)fromEpochStart.TotalSeconds + expiryInSeconds);

0 commit comments

Comments
 (0)