[UWP] [C#]在Windows 10移动设备中更改系统时间。 [英] [UWP][C#]Changing system time in windows 10 mobile.

查看:236
本文介绍了[UWP] [C#]在Windows 10移动设备中更改系统时间。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过c#在Windows 10移动版中更改系统时间。

I want to change system time in windows 10 mobile by c#.

我编写的程序跟随 使用"DllImport"的传统方式。

I coded program to follow  the traditional way using "DllImport".

但方式不对。

有没有办法在Windows 10移动版中更改系统时间通过c#?

Is there any way to change system time in windows 10 mobile by c#?

请告诉我!

推荐答案

嗨  jjjoon1,

Hi jjjoon1,

欢迎
到开发通用Windows应用论坛!
 请使用  标记 
发布到此论坛时,谢谢!

Windows应用商店应用运行沙盒,W e无法更改UWP中的系统时间,包括Windows 10 mobile。

Windows Store apps run sandboxed, We can not change the system time in UWP including windows 10 mobile.

最好的问候,

Breeze

Breeze


这篇关于[UWP] [C#]在Windows 10移动设备中更改系统时间。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆