add Platform property to SiteState and populate on both Web and .NET MAUI

This commit is contained in:
sbwalker
2024-02-26 14:12:52 -05:00
parent c20138c9fc
commit 553bbda769
5 changed files with 12 additions and 4 deletions

View File

@ -21,6 +21,7 @@ else
Parameters = new Dictionary<string, object>();
Parameters.Add(new KeyValuePair<string, object>("RenderMode", RenderModes.Interactive));
Parameters.Add(new KeyValuePair<string, object>("Runtime", Runtimes.Hybrid));
Parameters.Add(new KeyValuePair<string, object>("Platform", DeviceInfo.Current.Platform.ToString()));
if (MauiConstants.UseAppSettings)
{