代码之家  ›  专栏  ›  技术社区  ›  LiamB

带有用户名密码的image.fromfile。C.*

  •  0
  • LiamB  · 技术社区  · 15 年前

    好的,我们需要在网络上加载一个文件(文件与Web服务器分开存储)。

    在调用下面的函数时,我们是否可以为网络用户ID指定密码?

    image.fromfile(“\ipaddresshere\grouppictures\”);

    2 回复  |  直到 15 年前
        1
  •  1
  •   elder_george    15 年前

    sample 在msdn中模拟。也见 this post 关于可能的安全问题。

        2
  •  0
  •   Guffa    15 年前

    不。

    使用文件流打开它,并使用image.fromstream intsead。